Skip to content

Commit

Permalink
Move .flake8 out of pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaim committed Mar 13, 2024
1 parent cfc244d commit 51162c0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
8 changes: 8 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[flake8]
# Below are the error codes to ignore:
# E302: expected N blank lines, found Y
# E303: too many blank lines
# E711: comparison to None should be 'if cond is None:'
# E701: multiple statements on one line
ignore = E302,E303,E711,E701
max-line-length = 120
9 changes: 0 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ test = [
dev = [
# Dependencies required for development (linting, type checking, etc.)
"flake8",
"flake8-pyproject",
"mypy==1.9.0",
"types-requests",
]
Expand Down Expand Up @@ -58,11 +57,3 @@ warn_return_any = true
warn_unused_ignores = true
disallow_untyped_defs = false
strict = true

[tool.flake8]
ignore = ["E302", # expected N blank lines, found Y
"E303", # too many blank lines
"E711", # comparison to None should be 'if cond is None:'
"E701", # multiple statements on one line
]
max-line-length = 120

0 comments on commit 51162c0

Please sign in to comment.