diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 598e3b612..db6ee838f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,15 +31,15 @@ exclude: | ) repos: - repo: https://github.com/biomejs/pre-commit - rev: v2.4.16 + rev: v2.5.12 hooks: - id: biome-format - repo: https://github.com/tox-dev/pyproject-fmt - rev: v2.23.0 + rev: v2.29.3 hooks: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.15 + rev: v0.16.6 hooks: - id: ruff-check types_or: [python, pyi, jupyter] diff --git a/gget/gget_virus.py b/gget/gget_virus.py index 7742e6a91..b030bcd1d 100644 --- a/gget/gget_virus.py +++ b/gget/gget_virus.py @@ -5517,7 +5517,7 @@ def merge_metadata_csvs(genbank_csv_path: str, standard_csv_path: str) -> bool: return True - except Exception as e: # noqa: BLE001 + except Exception as e: logger.warning("❌ Failed to merge metadata CSVs: %s", e) logger.debug("Exception details:", exc_info=True) return False diff --git a/pyproject.toml b/pyproject.toml index 81c5a2c71..06b0278b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -148,11 +148,11 @@ ini_options.testpaths = [ "tests" ] ini_options.addopts = [ "-ra" ] [tool.coverage] +run.source = [ "gget" ] run.omit = [ "**/test_*.py", "gget/main.py", ] -run.source = [ "gget" ] # mypy-baseline grandfathers the pre-existing type errors so the pre-commit # mypy hook only fails on NEW errors. Refresh after fixing some with: