diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a832683..8ffdccd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ exclude: '^docs/conf.py' repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: trailing-whitespace - id: check-added-large-files @@ -19,7 +19,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.8.2 + rev: v0.15.15 hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/src/expressionatlas/converter.py b/src/expressionatlas/converter.py index fcad96a..fe74319 100644 --- a/src/expressionatlas/converter.py +++ b/src/expressionatlas/converter.py @@ -134,7 +134,7 @@ def _get_auth_headers(self) -> dict[str, str]: ) headers.update(dict(aws_request.headers)) except ImportError: - logger.warning("botocore not installed. Cannot use IAM auth. " "Install with: pip install botocore") + logger.warning("botocore not installed. Cannot use IAM auth. Install with: pip install botocore") except Exception as e: logger.warning(f"Failed to sign request: {e}") else: @@ -205,7 +205,7 @@ def convert( if result.get("status") == "error": raise ConverterError(result.get("detail", result.get("error", "Unknown error"))) - logger.info(f"Conversion {'cache hit' if result.get('cache_hit') else 'complete'} " f"for {accession}") + logger.info(f"Conversion {'cache hit' if result.get('cache_hit') else 'complete'} for {accession}") return result except Exception as e: