Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ ignore = [
##################################################################################################
# Rules below needs to be Investigated #
##################################################################################################
"PT", # flake8-pytest-style
"ERA", # eradicate commented-out code
"SLF001", # flake8-self
"EM", # flake8-errmsg
Expand Down Expand Up @@ -292,6 +291,7 @@ max-complexity = 17
"ANN202", # Missing return type annotation for private function
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
"ASYNC240", # Async functions should not use pathlib.Path methods, use trio.Path or anyio.path
"PT013", # Incorrect import of `pytest`; use `import pytest` instead
]

"infrahub_sdk/client.py" = [
Expand Down Expand Up @@ -347,6 +347,10 @@ max-complexity = 17
"S106", # Possible hardcoded password assigned to argument
"ARG001", # Unused function argument
"ARG002", # Unused method argument
"PT006", # Wrong type passed to first argument of `pytest.mark.parametrize`; expected `tuple`
"PT011", # `pytest.raises(ValueError)` is too broad, set the `match` parameter or use a more specific exception
"PT012", # `pytest.raises()` block should contain a single simple statement
"PT013", # Incorrect import of `pytest`; use `import pytest` instead
]

# tests/integration/
Expand Down