Skip to content

Commit

Permalink
chore: update ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
michdr committed Jan 17, 2025
1 parent 921248c commit 7aa0320
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion mostlyai/qa/_similarity.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def plot_store_similarity_contours(
color_scales = ["Blues", "Greens", "Blues"][: len(pcas)]
for row, (pca_y, pca_x) in enumerate(pca_combos):
# update axes labels of subplots
label_x, label_y = f"Principal Component {pca_x+1}", f"Principal Component {pca_y+1}"
label_x, label_y = f"Principal Component {pca_x + 1}", f"Principal Component {pca_y + 1}"
fig.update_xaxes(row=row + 1, title_text=label_x, showgrid=True, zeroline=True)
# add contours and centroid traces to subplots
for col, pca in enumerate(pcas):
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Source = "https://github.com/mostly-ai/mostlyai-qa"

[dependency-groups]
dev = [
"ruff==0.7.0",
"ruff==0.9.2",
"pytest>=7.1.2",
"pre-commit>=3.2.0",
"twine>=6.0.1,<7",
Expand Down Expand Up @@ -75,5 +75,5 @@ requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.ruff]
target-version = "1.4.4"
target-version = "py310"
line-length = 120
46 changes: 23 additions & 23 deletions uv.lock

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

0 comments on commit 7aa0320

Please sign in to comment.