mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 18:43:08 +02:00
Replace bare 'except Exception' with specific exception types: - ValueError for move parsing (chess.Move.from_uci, board.push_uci) - json.JSONDecodeError for JSON parsing - OSError for file operations - ImportError for optional imports - AttributeError for attribute access - TypeError for type-related operations - requests.RequestException for HTTP operations - subprocess.SubprocessError for subprocess failures - selenium.NoSuchElementException for element finding Also fixes: - pytest hook signature issue in conftest.py (_config -> _) - Missing file handling in test_puzzles.py - Line length in stockfish_analysis.py Removes all BLE001 per-file ignores from pyproject.toml. |
||
|---|---|---|
| .. | ||
| download_cats | ||
| extract_links | ||
| keyboard_coop | ||
| lichess_bot | ||
| mock_server | ||
| pdfCentered | ||
| random_jpg | ||
| randomize_numbers | ||
| scrape_website | ||
| screen_locker | ||
| split | ||
| stockfish_analysis | ||
| tag_divider | ||
| __init__.py | ||
| .gitignore | ||