Skip to content

Commit a2dfd33

Browse files
E721 (#15)
* E721 * E721 + black * flake8 is finding E721
1 parent 764dbe2 commit a2dfd33

File tree

44 files changed

+686
-618
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+686
-618
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
66
"testgres.postgres_configuration" = "src"
77

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

1212
# Pytest settings

src/core/handlers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def DataHandler__AddSimpleOption(
9292
) -> any:
9393
assert (
9494
target is None
95-
or type(target) == FileData
95+
or type(target) == FileData # noqa: E721
9696
or type(target) == FileLineData # noqa: E721 E501
9797
)
9898
assert optionOffset is None or type(optionOffset) == int # noqa: E721
@@ -248,7 +248,7 @@ def __init__(
248248
assert isinstance(dataHandler, ConfigurationDataHandler)
249249
assert (
250250
target is None
251-
or type(target) == FileData
251+
or type(target) == FileData # noqa: E721
252252
or type(target) == FileLineData # noqa: E721
253253
)
254254
assert type(optionName) == str # noqa: E721

0 commit comments

Comments
 (0)