diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4a7507f..de5bb1d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ repos: - id: pyproject-fmt - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.0.278' + rev: 'v0.0.280' hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] diff --git a/tap_circle_ci/client.py b/tap_circle_ci/client.py index 9f0efcf..4bf3023 100644 --- a/tap_circle_ci/client.py +++ b/tap_circle_ci/client.py @@ -43,7 +43,7 @@ def http_headers(self) -> dict: def get_url_params( self, context: dict | None, # noqa: ARG002 - next_page_token: Any | None, + next_page_token: str | None, ) -> dict[str, Any]: """Return a dictionary of values to be used in URL parameterization.""" params: dict = {} diff --git a/tap_circle_ci/streams.py b/tap_circle_ci/streams.py index b0434ef..4aaf841 100644 --- a/tap_circle_ci/streams.py +++ b/tap_circle_ci/streams.py @@ -31,7 +31,7 @@ def get_child_context( def get_url_params( self, context: dict | None, - next_page_token: t.Any | None, + next_page_token: str | None, ) -> dict[str, t.Any]: """Return a dictionary of values to be used in URL parameterization.""" params = super().get_url_params(context, next_page_token)