diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f131596..64fde55 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,7 +10,7 @@ repos: files: \.rej$ repo: local - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.7.2' + rev: 'v0.9.3' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] @@ -26,7 +26,7 @@ repos: - --ignore-words-list - ba,datas,fo,uptodate repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.0 - repo: local hooks: - id: mypy diff --git a/dvc_http/__init__.py b/dvc_http/__init__.py index e6278e9..f4bdc22 100644 --- a/dvc_http/__init__.py +++ b/dvc_http/__init__.py @@ -83,7 +83,7 @@ def _prepare_credentials(self, **config): if auth_method == "basic": if user is None or password is None: raise ConfigError( - "HTTP 'basic' authentication require both " "'user' and 'password'" + "HTTP 'basic' authentication require both 'user' and 'password'" ) client_kwargs["auth"] = aiohttp.BasicAuth(user, password) elif auth_method == "custom":