testsAndMisc/PYTHON/lichess_bot/tests
Krzysztof kuhy Rudnicki 87cbcd5ff6 fix(lint): remove style preference rules from global ignores
Fixed violations:
- PERF401: Use list comprehension (downloadCats, split)
- SIM102: Combine nested if statements (keyboardCoop)
- SIM113: Use enumerate (lichess_bot/tests)
- B904: Add 'from None/e' to raises (engine, stockfish_analysis, generate_blunder_tests)
- TRY300: Move return to else block (screen_locker)

Per-file ignores added for TRY301:
- lichess_bot/main.py: Null checks on subprocess streams
- randomize_numbers/random_digits.py: Input validation

Removed from global ignore (no violations):
- RUF005, SIM103, SIM105, SIM108

Global ignore now only contains unavoidable conflicts:
- D203/D213: Docstring style conflicts
- COM812/ISC001: Formatter conflicts (per ruff docs)
2025-11-30 20:47:38 +01:00
..
__init__.py Enable INP001: add __init__.py to 11 packages 2025-11-30 14:55:20 +01:00
conftest.py fix(lint): remove FBT001/FBT002/FBT003 and ARG001/ARG002 from global ignores 2025-11-30 16:23:16 +01:00
test_puzzles.py fix(lint): remove style preference rules from global ignores 2025-11-30 20:47:38 +01:00
test_utils.py fix: correct mypy ignore comment for attr-defined error 2025-11-30 15:49:40 +01:00
test_versioning.py fix: correct mypy ignore comment for attr-defined error 2025-11-30 15:49:40 +01:00