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
7 changes: 5 additions & 2 deletions app/flaky_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def extract_browser(test_name: str) -> str | None:
line_chart = (
alt.Chart(workflow_daily_df)
.mark_line(point=True)
.encode(
.encode( # ty: ignore[unresolved-attribute]
x=alt.X("date:T", title="Date", axis=alt.Axis(format="%b %d")),
y=alt.Y(
"rolling_avg:Q",
Expand Down Expand Up @@ -247,7 +247,10 @@ def extract_browser(test_name: str) -> str | None:
strokeWidth=1,
color="red",
)
.encode(y="y:Q", tooltip=[alt.Tooltip("y:Q", title="Overall Average", format=".1%")])
.encode( # ty: ignore[unresolved-attribute]
y="y:Q",
tooltip=[alt.Tooltip("y:Q", title="Overall Average", format=".1%")],
)
)

# Combine the charts
Expand Down
2 changes: 1 addition & 1 deletion app/frontend_bundle_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ def create_trend_chart(df: pd.DataFrame, metric_suffix: str, title: str) -> alt.
chart = (
alt.Chart(chart_data)
.mark_line(point=True)
.encode(
.encode( # ty: ignore[unresolved-attribute]
x=alt.X("created_at", title="Date"),
y=alt.Y("Size", title="Size (Bytes)"),
color="Category",
Expand Down
2 changes: 1 addition & 1 deletion app/open_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def create_horizontal_bar_chart(data_df: pd.DataFrame, title: str, x_field: str,
cornerRadiusBottomRight=3,
height=bar_height,
)
.encode(
.encode( # ty: ignore[unresolved-attribute]
x=alt.X(f"{x_field}:Q", title="Count"),
y=alt.Y(
f"{y_field}:N",
Expand Down
4 changes: 2 additions & 2 deletions app/perf/lighthouse_runs.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def get_lighthouse_results(commit_hash: str) -> tuple:
chart = (
alt.Chart(df)
.mark_point()
.encode(
.encode( # ty: ignore[unresolved-attribute]
x=alt.X(
"index:Q",
# Ensure x-axis shows only integers
Expand All @@ -162,7 +162,7 @@ def get_lighthouse_results(commit_hash: str) -> tuple:
rolling_mean_line = (
alt.Chart(df)
.mark_line()
.encode(
.encode( # ty: ignore[unresolved-attribute]
x=alt.X(
"index:Q",
# Ensure x-axis shows only integers
Expand Down
2 changes: 1 addition & 1 deletion app/perf/lighthouse_single_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_and_extract_performance_for_run(run_id: str | int) -> dict:
chart = (
alt.Chart(df)
.mark_point()
.encode(
.encode( # ty: ignore[unresolved-attribute]
x="datetime:T",
y=alt.Y("score:Q", scale=alt.Scale(domain=[0, 100])),
color="app_name:N",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ default-groups = ["dev"]
dev = [
"pytest>=9.0.2",
"ruff==0.16.0",
"ty==0.0.62",
"ty==0.0.66",
"mypy==2.3.0",
"watchdog",
"pandas-stubs",
Expand Down
44 changes: 22 additions & 22 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.