Skip to content

Commit

Permalink
Make mypy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Sep 5, 2024
1 parent 0e075b1 commit a5ef92e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tap_csv/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(self, *args: t.Any, **kwargs: t.Any):
super().__init__(*args, **kwargs)

@cached_property
def primary_keys(self) -> list[str]:
def primary_keys(self) -> t.Sequence[str] | None:
"""Return the primary keys for the stream."""
return self.file_config.get("keys", [])

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ commands =
poetry install -v
poetry run ruff check --diff tap_csv/
poetry run ruff format --check tap_csv
poetry run mypy tap_csv --exclude='tap_csv/tests' --ignore-missing-imports
poetry run mypy . --exclude='tests' --ignore-missing-imports

0 comments on commit a5ef92e

Please sign in to comment.