@@ -208,21 +208,20 @@ select = [
208
208
209
209
# Use ONLY the same ignores as the original flake8 config + compatibility for this codebase
210
210
ignore = [
211
- " E203" , # Whitespace before ':' -- handled by black
212
- " E501" , # Line too long -- handled by black
211
+ " E203" , # Whitespace before ':'
212
+ " E501" , # Line too long
213
213
" E402" , # Module level import not at top of file
214
214
" E731" , # Do not assign a lambda expression, use a def
215
- " B014" , # Redundant exception types by flake8-bugbear (but B rules not selected anyway)
216
- " N812" , # Lowercase imported as non-lowercase (but N rules not selected anyway)
217
- " N804" , # First argument of classmethod should be named cls (but N rules not selected anyway)
215
+ " B014" , # Redundant exception types
216
+ " N812" , # Lowercase imported as non-lowercase
217
+ " N804" , # First argument of classmethod should be named cls
218
218
219
219
# Additional ignores for codebase compatibility
220
220
" F401" , # Unused imports - many in TYPE_CHECKING blocks used for type comments
221
221
" E721" , # Use isinstance instead of type() == - existing pattern in this codebase
222
222
]
223
223
224
224
[tool .ruff .format ]
225
- # Match black's behavior
226
225
# ruff format already excludes the same files as specified in extend-exclude
227
226
# Ensure Python 3.7 compatibility - avoid using Python 3.9+ syntax features
228
227
skip-magic-trailing-comma = false
0 commit comments