File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2020 types : [python]
2121 - id : ruff
2222 name : ruff
23- entry : poetry run ruff --fix
23+ entry : poetry run ruff check --fix
2424 language : system
2525 types : [ python ]
2626 - id : mypy
Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ exclude = [
5757 " .tox" ,
5858]
5959
60+ [tool .ruff .lint ]
61+
6062select = [
6163 " A" , # flake8 builtins
6264 " E" , # pycodestyle error
@@ -73,14 +75,14 @@ select = [
7375 " C9" , # mccabe
7476]
7577
76- [tool .ruff .pep8-naming ]
78+ [tool .ruff .lint . pep8-naming ]
7779classmethod-decorators = [
7880 " classmethod" ,
7981 " validator" ,
8082 " root_validator" ,
8183]
8284
83- [tool .ruff .per-file-ignores ]
85+ [tool .ruff .lint . per-file-ignores ]
8486"*/__init__.py" = [" F401" ]
8587
8688[tool .pytest .ini_options ]
You can’t perform that action at this time.
0 commit comments