diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0daf971..118c685 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: - id: no-commit-to-branch args: [--branch, develop, --branch, main] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.15.9" + rev: "v0.16.0" hooks: - id: ruff-check args: ["--fix"] diff --git a/src/ruff_sync/constants.py b/src/ruff_sync/constants.py index 872c073..99a58d8 100644 --- a/src/ruff_sync/constants.py +++ b/src/ruff_sync/constants.py @@ -129,7 +129,7 @@ def get_canonical(cls, key: str) -> str: def resolve_defaults( branch: str | MissingType, - path: str | None | MissingType, + path: str | MissingType | None, exclude: Iterable[str] | MissingType, ) -> tuple[str, str | None, Iterable[str]]: """Resolve MISSING sentinel values to their effective defaults.