Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 22, 2024
1 parent ff56d55 commit 5a42427
Showing 1 changed file with 28 additions and 33 deletions.
61 changes: 28 additions & 33 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
[tool.ruff]
target-version = "py37"

line-length = 616
select = [
"C4", # flake8-comprehensions
"C90", # mccabe
"E", # pycodestyle
"F", # Pyflakes
"I", # isort
"ICN", # flake8-import-conventions
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PLC", # Pylint conventions
"PLE", # Pylint errors
"PLR091", # Pylint refactor just for max-args, max-branches, etc.
"PYI", # flake8-pyi
"RSE", # flake8-raise
"RUF", # Ruff-specific rules
"T10", # flake8-debugger
"TCH", # flake8-type-checking
"TID", # flake8-tidy-imports
"UP", # pyupgrade
"W", # pycodestyle
"YTT", # flake8-2020
"C4", # flake8-comprehensions
"C90", # mccabe
"E", # pycodestyle
"F", # Pyflakes
"I", # isort
"ICN", # flake8-import-conventions
"PGH", # pygrep-hooks
"PIE", # flake8-pie
"PLC", # Pylint conventions
"PLE", # Pylint errors
"PLR091", # Pylint refactor just for max-args, max-branches, etc.
"PYI", # flake8-pyi
"RSE", # flake8-raise
"RUF", # Ruff-specific rules
"T10", # flake8-debugger
"TCH", # flake8-type-checking
"TID", # flake8-tidy-imports
"UP", # pyupgrade
"W", # pycodestyle
"YTT", # flake8-2020
]
ignore = [
"E402",
Expand All @@ -31,19 +34,11 @@ ignore = [
"PLC1901",
"RUF001",
]
line-length = 616
target-version = "py37"

[tool.ruff.mccabe]
max-complexity = 21

[tool.ruff.pylint]
max-args = 8
max-branches = 18
max-statements = 73

[tool.ruff.per-file-ignores]
"test/*" = ["S101"]
pylint.max-args = 8
pylint.max-branches = 18
pylint.max-statements = 73
mccabe.max-complexity = 21
per-file-ignores."test/*" = [ "S101" ]

[tool.codespell]
ignore-words-list = 'didnt'
Expand Down

0 comments on commit 5a42427

Please sign in to comment.