testsAndMisc/PYTHON
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
..
downloadCats fix(lint): remove style preference rules from global ignores 2025-11-30 20:47:38 +01:00
extractLinks fix(lint): remove FBT001/FBT002/FBT003 and ARG001/ARG002 from global ignores 2025-11-30 16:23:16 +01:00
keyboardCoop fix(lint): remove style preference rules from global ignores 2025-11-30 20:47:38 +01:00
lichess_bot fix(lint): remove style preference rules from global ignores 2025-11-30 20:47:38 +01:00
mock_server Enable INP001: add __init__.py to 11 packages 2025-11-30 14:55:20 +01:00
pdfCentered fix: correct shebang and executable permissions 2025-11-30 13:42:16 +01:00
randomize_numbers fix: correct mypy ignore comment for attr-defined error 2025-11-30 15:49:40 +01:00
randomJPG fix: replace asserts with combined None checks for ruff S101 2025-11-30 16:03:14 +01:00
scapeWebsite fix: correct mypy ignore comment for attr-defined error 2025-11-30 15:49:40 +01:00
screen_locker fix(lint): remove style preference rules from global ignores 2025-11-30 20:47:38 +01:00
split fix(lint): remove style preference rules from global ignores 2025-11-30 20:47:38 +01:00
stockfish_analysis fix(lint): remove style preference rules from global ignores 2025-11-30 20:47:38 +01:00
tagDivider Enable N816: rename mixed-case global variables to snake_case 2025-11-30 15:16:49 +01:00
__init__.py feat: make the analyze chess game script use more pc resources 2025-08-22 22:30:47 +02:00
.gitignore fix: correct shebang and executable permissions 2025-11-30 13:42:16 +01:00