Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions src/omniload/source/rsync/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/warehouse/saas/test_appsflyer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading