diff --git a/PYTHON/lichess_bot/tools/generate_blunder_tests.py b/PYTHON/lichess_bot/tools/generate_blunder_tests.py index 34350b2..61e3dca 100755 --- a/PYTHON/lichess_bot/tools/generate_blunder_tests.py +++ b/PYTHON/lichess_bot/tools/generate_blunder_tests.py @@ -162,6 +162,7 @@ def fen_and_uci_for_blunders( try: move = board.parse_san(main_sans[bl.ply - 1]) except Exception: + logging.debug("Skipping blunder: failed to parse fallback move") continue else: continue diff --git a/pyproject.toml b/pyproject.toml index 400aeb2..187782c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,7 +64,6 @@ ignore = [ "S311", # suspicious-non-cryptographic-random - not security critical "S310", # suspicious-url-open - acceptable for scripts "S110", # try-except-pass - common pattern in scripts - "S112", # try-except-continue - acceptable pattern "DTZ005", # datetime.now without tz - acceptable for local scripts "PERF401", # manual-list-comprehension - style preference "RUF005", # collection-literal-concatenation - style preference