diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 376852a..b662114 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.6.9 + rev: v0.15.11 hooks: - id: ruff args: [--fix] diff --git a/pyproject.toml b/pyproject.toml index 5704418..99f4c65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ dev = [ "pytest-asyncio>=0.23", "pytest-cov>=5.0", "respx>=0.21", - "ruff>=0.6", + "ruff==0.15.11", "pyright>=1.1.380", "pre-commit>=3.8", "types-pyyaml>=6.0", diff --git a/tests/test_sync.py b/tests/test_sync.py index e69291a..c054001 100644 --- a/tests/test_sync.py +++ b/tests/test_sync.py @@ -161,9 +161,9 @@ def test_add_target_duplicate_path_raises_conflict() -> None: add_target(config, path="~/skills", preset=None, scope="all", only=[]) hint = exc_info.value.hint or "" assert "--only" in hint, "hint should mention --only" - assert ( - "edit the sync config by hand" not in hint - ), "hint must not say 'edit the sync config by hand'" + assert "edit the sync config by hand" not in hint, ( + "hint must not say 'edit the sync config by hand'" + ) def test_add_target_duplicate_detected_across_path_forms() -> None: diff --git a/uv.lock b/uv.lock index 3aba07d..a6cadf1 100644 --- a/uv.lock +++ b/uv.lock @@ -221,7 +221,7 @@ dev = [ { name = "pytest-asyncio", specifier = ">=0.23" }, { name = "pytest-cov", specifier = ">=5.0" }, { name = "respx", specifier = ">=0.21" }, - { name = "ruff", specifier = ">=0.6" }, + { name = "ruff", specifier = "==0.15.11" }, { name = "types-pyyaml", specifier = ">=6.0" }, ]