Skip to content
Merged

E721 #15

Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
"testgres.postgres_configuration" = "src"

[tool.flake8]
extend-ignore = ["E501", "E721", "E722", "W503"]
extend-ignore = ["E501", "E722", "W503"]
exclude = [".git", "__pycache__", "env", "venv"]

# Pytest settings
Expand Down
4 changes: 2 additions & 2 deletions src/core/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def DataHandler__AddSimpleOption(
) -> any:
assert (
target is None
or type(target) == FileData
or type(target) == FileData # noqa: E721
or type(target) == FileLineData # noqa: E721 E501
)
assert optionOffset is None or type(optionOffset) == int # noqa: E721
Expand Down Expand Up @@ -248,7 +248,7 @@ def __init__(
assert isinstance(dataHandler, ConfigurationDataHandler)
assert (
target is None
or type(target) == FileData
or type(target) == FileData # noqa: E721
or type(target) == FileLineData # noqa: E721
)
assert type(optionName) == str # noqa: E721
Expand Down
Loading