Skip to content

Commit 53c00e1

Browse files
committed
Enable more lint rules
1 parent 8226ef2 commit 53c00e1

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,23 +116,22 @@ line_length = 100
116116

117117
[tool.ruff]
118118
select = [
119-
"F", "W", "E", "UP", "YTT", "C4", "FA", "PIE", "T20", "RSE", "TCH", "DTZ",
119+
"F", "W", "E", "UP", "YTT", "C4", "DTZ", "FA", "ISC", "PIE", "T20", "RSE", "TCH",
120120
"B002", "B003", "B005", "B007", "B009", "B012", "B013", "B014", "B015", "B018", "B020", "B021", "B023", "B026", "B033", "B034", "B905",
121121
"COM818",
122122
"PERF101",
123123
"PGH002", "PGH004", "PGH005",
124-
"PLE", "PLW0120", "PLW0127",
125-
"RUF001", "RUF007", "RUF010", "RUF100", "RUF200",
124+
"FLY002",
125+
"PLC", "PLE", "PLR0124", "PLR0133", "PLR0206", "PLR0402", "PLR1701", "PLR1722", "PLW0120", "PLW0127", "PLW0129", "PLW0131", "PLW0406", "PLW0602", "PLW0603", "PLW0711",
126+
"RUF001", "RUF005", "RUF007", "RUF010", "RUF013", "RUF100", "RUF200",
126127
"SIM101", "SIM107", "SIM201", "SIM202", "SIM208", "SIM210", "SIM211", "SIM300", "SIM401", "SIM910",
127128
]
128129
ignore = ["E501", "E731"]
129130
[tool.ruff.flake8-comprehensions]
130131
allow-dict-calls-with-keyword-arguments = true
131132

132133
[tool.mypy]
133-
ignore_missing_imports = true
134134
warn_unreachable = true
135-
no_implicit_optional = true
136135
show_error_codes = true
137136

138137
[tool.pytest.ini_options]

0 commit comments

Comments
 (0)