diff options
| author | 2024-02-02 16:12:08 +0000 | |
|---|---|---|
| committer | 2024-02-02 16:12:08 +0000 | |
| commit | 5fd87154cbf326068b181f366286a635a7eaa119 (patch) | |
| tree | 709446f42d8981e83bca8b17f4fda280d477c7e2 /pyproject.toml | |
| parent | Add ruff isort configuration (diff) | |
Enable all ruff rules
Diffstat (limited to 'pyproject.toml')
| -rw-r--r-- | pyproject.toml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pyproject.toml b/pyproject.toml index 269da86..10429f2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,21 +40,24 @@ unsafe-fixes = true preview = true [tool.ruff.lint] -select = ["ANN", "B", "C4", "D", "DTZ", "E", "F", "I", "ISC", "INT", "N", "PGH", "PIE", "Q", "RET", "RSE", "RUF", "S", "SIM", "T20", "TID", "UP", "W"] +select = ["ALL"] ignore = [ "ANN002", "ANN003", "ANN101", "ANN102", "ANN204", "ANN206", "ANN401", "B904", "C401", "C408", + "CPY001", "D100", "D104", "D105", "D107", "D203", "D212", "D214", "D215", "D301", "D400", "D401", "D402", "D404", "D405", "D406", "D407", "D408", "D409", "D410", "D411", "D412", "D413", "D414", "D416", "D417", "E731", "RET504", "RUF005", "S311", - "SIM102","SIM108", + "SIM102", "SIM108", + "PD", + "PLR6301", # Rules suggested to be ignored when using ruff format - "D206", "E111", "E114", "E117", "E501", "ISC001", "Q000", "Q001", "Q002", "Q003", "W191", + "COM812", "D206", "E111", "E114", "E117", "E501", "ISC001", "Q000", "Q001", "Q002", "Q003", "W191", ] [tool.ruff.lint.isort] |