Skip to content

Commit b18cc59

Browse files
authored
Enable ruff's BLE/ICN/PGH/RSE/TCH/TID/YTT rules (#2878)
1 parent c15014a commit b18cc59

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pyproject.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,19 +100,26 @@ line-ending = "lf" # Use UNIX `\n` line endings for all files
100100
[tool.ruff.lint]
101101
select = [
102102
"B", # flake8-bugbear
103+
"BLE", # flake8-blind-except
103104
"E", # pycodestyle
104105
"F", # pyflakes
105106
"FA", # flake8-future-annotations
106107
"FLY", # flynt
107108
"I", # isort
109+
"ICN", # flake8-import-conventions
108110
"ISC", # flake8-implicit-str-concat
109111
"NPY", # numpy
110112
"PD", # pandas-vet
113+
"PGH", # pygrep-hooks
111114
"PIE", # flake8-pie
112115
"PL", # pylint
116+
"RSE", # flake8-raise
113117
"SIM", # flake8-simplify
118+
"TCH", # flake8-type-checking
119+
"TID", # flake8-tidy-imports
114120
"UP", # pyupgrade
115121
"W", # pycodestyle warnings
122+
"YTT", # flake8-2020
116123
]
117124
ignore = [
118125
"E501", # Avoid enforcing line-length violations

0 commit comments

Comments
 (0)