Apple/.ruff.toml
raw| 1 | extend = "../.ruff.toml" # Inherit the project-wide settings |
| 2 | |
| 3 | [format] |
| 4 | preview = true |
| 5 | docstring-code-format = true |
| 6 | |
| 7 | [lint] |
| 8 | select = [ |
| 9 | "C4", # flake8-comprehensions |
| 10 | "E", # pycodestyle |
| 11 | "F", # pyflakes |
| 12 | "I", # isort |
| 13 | "ISC", # flake8-implicit-str-concat |
| 14 | "LOG", # flake8-logging |
| 15 | "PGH", # pygrep-hooks |
| 16 | "PT", # flake8-pytest-style |
| 17 | "PYI", # flake8-pyi |
| 18 | "RUF100", # Ban unused `# noqa` comments |
| 19 | "UP", # pyupgrade |
| 20 | "W", # pycodestyle |
| 21 | "YTT", # flake8-2020 |
| 22 | ] |