Skip to content

Commit 53f214b

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent baa2374 commit 53f214b

File tree

1 file changed

+28
-33
lines changed

1 file changed

+28
-33
lines changed

pyproject.toml

+28-33
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,28 @@
11
[tool.ruff]
2+
target-version = "py37"
3+
4+
line-length = 616
25
select = [
3-
"C4", # flake8-comprehensions
4-
"C90", # mccabe
5-
"E", # pycodestyle
6-
"F", # Pyflakes
7-
"I", # isort
8-
"ICN", # flake8-import-conventions
9-
"PGH", # pygrep-hooks
10-
"PIE", # flake8-pie
11-
"PLC", # Pylint conventions
12-
"PLE", # Pylint errors
13-
"PLR091", # Pylint refactor just for max-args, max-branches, etc.
14-
"PYI", # flake8-pyi
15-
"RSE", # flake8-raise
16-
"RUF", # Ruff-specific rules
17-
"T10", # flake8-debugger
18-
"TCH", # flake8-type-checking
19-
"TID", # flake8-tidy-imports
20-
"UP", # pyupgrade
21-
"W", # pycodestyle
22-
"YTT", # flake8-2020
6+
"C4", # flake8-comprehensions
7+
"C90", # mccabe
8+
"E", # pycodestyle
9+
"F", # Pyflakes
10+
"I", # isort
11+
"ICN", # flake8-import-conventions
12+
"PGH", # pygrep-hooks
13+
"PIE", # flake8-pie
14+
"PLC", # Pylint conventions
15+
"PLE", # Pylint errors
16+
"PLR091", # Pylint refactor just for max-args, max-branches, etc.
17+
"PYI", # flake8-pyi
18+
"RSE", # flake8-raise
19+
"RUF", # Ruff-specific rules
20+
"T10", # flake8-debugger
21+
"TCH", # flake8-type-checking
22+
"TID", # flake8-tidy-imports
23+
"UP", # pyupgrade
24+
"W", # pycodestyle
25+
"YTT", # flake8-2020
2326
]
2427
ignore = [
2528
"E402",
@@ -31,19 +34,11 @@ ignore = [
3134
"PLC1901",
3235
"RUF001",
3336
]
34-
line-length = 616
35-
target-version = "py37"
36-
37-
[tool.ruff.mccabe]
38-
max-complexity = 21
39-
40-
[tool.ruff.pylint]
41-
max-args = 8
42-
max-branches = 18
43-
max-statements = 73
44-
45-
[tool.ruff.per-file-ignores]
46-
"test/*" = ["S101"]
37+
per-file-ignores."test/*" = [ "S101" ]
38+
pylint.max-args = 8
39+
pylint.max-branches = 18
40+
pylint.max-statements = 73
41+
mccabe.max-complexity = 21
4742

4843
[tool.codespell]
4944
ignore-words-list = 'didnt'

0 commit comments

Comments
 (0)