diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fa3e840..4ef4935 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -62,7 +62,7 @@ jobs: run: uv sync - name: Lint code - run: uv run ruff check --output-format=github packages/ + run: uv run ruff check --no-fix --output-format=github packages/ continue-on-error: false typecheck: diff --git a/packages/ensure_uv/__init__.py b/packages/ensure_uv/__init__.py index 7d79ce9..92f055f 100644 --- a/packages/ensure_uv/__init__.py +++ b/packages/ensure_uv/__init__.py @@ -1,5 +1,7 @@ """Pre-commit hook to ensure uv is installed and available.""" +from __future__ import annotations + from .main import main from .version import __version__ diff --git a/pyproject.toml b/pyproject.toml index f371c8b..3599ecf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,7 +52,6 @@ testpaths = ["tests"] include = ["packages"] [tool.ruff] -fix = true src = [".github", ".gitlab", "packages", "scripts", "tests", "typings"] target-version = "py311" unsafe-fixes = true