File tree 1 file changed +4
-4
lines changed 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
[tool .ruff ]
2
2
target-version = " py37"
3
- select = [
3
+ lint. select = [
4
4
" E" , # pycodestyle errors
5
5
" W" , # pycodestyle warnings
6
6
" F" , # pyflakes
@@ -12,7 +12,7 @@ select = [
12
12
" RUF100" , # unused-noqa
13
13
" Q" , # quotes
14
14
]
15
- ignore = [
15
+ lint. ignore = [
16
16
" E501" , # Line too long, handled by black
17
17
" C901" , # Too complex
18
18
" E731" , # Assign lambda.
@@ -21,7 +21,7 @@ ignore = [
21
21
]
22
22
23
23
24
- [tool .ruff .per-file-ignores ]
24
+ [tool .ruff .lint . per-file-ignores ]
25
25
"examples/*" = [" T201" ] # Print allowed in examples.
26
26
"src/prompt_toolkit/application/application.py" = [" T100" , " T201" , " F821" ] # pdb and print allowed.
27
27
"src/prompt_toolkit/contrib/telnet/server.py" = [" T201" ] # Print allowed.
@@ -33,7 +33,7 @@ ignore = [
33
33
"src/prompt_toolkit/shortcuts/progress_bar/formatters.py" = [" UP031" ] # %-style formatting.
34
34
35
35
36
- [tool .ruff .isort ]
36
+ [tool .ruff .lint . isort ]
37
37
known-first-party = [" prompt_toolkit" ]
38
38
known-third-party = [" pygments" , " asyncssh" ]
39
39
You can’t perform that action at this time.
0 commit comments