Skip to content

Commit 651bab5

Browse files
committed
pyproject.toml: Add ruff.lint prefixes to format settings.
Signed-off-by: Jos Verlinde <Jos_Verlinde@hotmail.com>
1 parent a4f4599 commit 651bab5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pyproject.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ exclude = [
33
"python-stdlib",
44
"unix-ffi",
55
]
6-
select = [
6+
lint.select = [
77
"ASYNC", # flake8-comprehensions
88
"C4", # flake8-comprehensions
99
"C90", # McCabe cyclomatic complexity
@@ -53,7 +53,7 @@ select = [
5353
# "TRY", # tryceratops
5454
# "UP", # pyupgrade
5555
]
56-
ignore = [
56+
lint.ignore = [
5757
"E722",
5858
"E741", # 'l' is currently widely used
5959
"F401",
@@ -78,17 +78,17 @@ ignore = [
7878
line-length = 99
7979
target-version = "py37"
8080

81-
[tool.ruff.mccabe]
81+
[tool.ruff.lint.mccabe]
8282
max-complexity = 61
8383

84-
[tool.ruff.pylint]
84+
[tool.ruff.lint.pylint]
8585
allow-magic-value-types = ["bytes", "int", "str"]
8686
max-args = 14
8787
max-branches = 58
8888
max-returns = 13
8989
max-statements = 166
9090

91-
[tool.ruff.per-file-ignores]
91+
[tool.ruff.lint.per-file-ignores]
9292
"micropython/aiorepl/aiorepl.py" = ["PGH001"]
9393

9494
# manifest.py files are evaluated with some global names pre-defined

0 commit comments

Comments
 (0)