File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11[tool .ruff ]
22target-version = " py37"
3- select = [
3+ lint. select = [
44 " E" , # pycodestyle errors
55 " W" , # pycodestyle warnings
66 " F" , # pyflakes
@@ -12,7 +12,7 @@ select = [
1212 " RUF100" , # unused-noqa
1313 " Q" , # quotes
1414]
15- ignore = [
15+ lint. ignore = [
1616 " E501" , # Line too long, handled by black
1717 " C901" , # Too complex
1818 " E731" , # Assign lambda.
@@ -21,7 +21,7 @@ ignore = [
2121]
2222
2323
24- [tool .ruff .per-file-ignores ]
24+ [tool .ruff .lint . per-file-ignores ]
2525"examples/*" = [" T201" ] # Print allowed in examples.
2626"src/prompt_toolkit/application/application.py" = [" T100" , " T201" , " F821" ] # pdb and print allowed.
2727"src/prompt_toolkit/contrib/telnet/server.py" = [" T201" ] # Print allowed.
@@ -33,7 +33,7 @@ ignore = [
3333"src/prompt_toolkit/shortcuts/progress_bar/formatters.py" = [" UP031" ] # %-style formatting.
3434
3535
36- [tool .ruff .isort ]
36+ [tool .ruff .lint . isort ]
3737known-first-party = [" prompt_toolkit" ]
3838known-third-party = [" pygments" , " asyncssh" ]
3939
You can’t perform that action at this time.
0 commit comments