mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-07-04 14:43:01 +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. |
||
|---|---|---|
| .github/workflows | ||
| .vscode | ||
| articles | ||
| Bash/ffmpeg-build | ||
| C | ||
| CPP | ||
| LaTeX | ||
| poker_modifier_app | ||
| python_pkg | ||
| sonic_pi | ||
| TS | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| lint_python.sh | ||
| pyproject.toml | ||
| pytest.ini | ||
| requirements-dev.txt | ||
| requirements.txt | ||
| test_input_clean.wav | ||
| test_input.wav | ||