diff --git a/pyproject.toml b/pyproject.toml index 6fde023b5..5964aa199 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -152,7 +152,7 @@ optional-dependencies.develop = [ "pyproject-fmt<3", "pytest-repeat<1", "ruff==0.17.*", - "ty==0.0.85", + "ty==0.0.89", "validate-pyproject<1", ] # The filesystem and blob stack lives in its own distribution. diff --git a/src/omniload/source/rsync/transport.py b/src/omniload/source/rsync/transport.py index 63f656517..49bbf1812 100644 --- a/src/omniload/source/rsync/transport.py +++ b/src/omniload/source/rsync/transport.py @@ -67,8 +67,8 @@ class SshTransport(RsyncTransport): emitted only when at least one of these is present). """ - host: str - user: Optional[str] = None + host: str # ty: ignore[invalid-attribute-override] + user: Optional[str] = None # ty: ignore[invalid-attribute-override] port: Optional[int] = None rsh: Optional[str] = None ssh_key: Optional[str] = None @@ -125,8 +125,8 @@ class DaemonTransport(RsyncTransport): command line. """ - host: str - user: Optional[str] = None + host: str # ty: ignore[invalid-attribute-override] + user: Optional[str] = None # ty: ignore[invalid-attribute-override] port: int = DEFAULT_DAEMON_PORT password: Optional[str] = None password_file: Optional[str] = None diff --git a/tests/warehouse/saas/test_appsflyer.py b/tests/warehouse/saas/test_appsflyer.py index 7e84c9d55..392b841ef 100644 --- a/tests/warehouse/saas/test_appsflyer.py +++ b/tests/warehouse/saas/test_appsflyer.py @@ -197,7 +197,7 @@ def test_exclude_metrics_for_date_range(): to_date = "2024-01-11" now = "2024-01-12" - with pendulum.travel_to(cast(pendulum.DateTime, pendulum.parse(now))): + with pendulum.travel_to(cast(pendulum.DateTime, pendulum.parse(now))): # ty: ignore[invalid-context-manager,unused-ignore-comment,unused-ignore-comment] excluded_metrics = exclude_metrics_for_date_range(metrics, from_date, to_date) assert excluded_metrics == [ "cohort_day_1_revenue_per_user",