Skip to content
Closed
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 requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pytest==9.1.0
pytest-cov==7.1.0
responses==0.26.1
ruff==0.15.17
ruff==0.15.18

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Synchronize .pre-commit-config.yaml to match the bumped ruff version.

The requirements-dev.txt is being updated to ruff 0.15.18, but .pre-commit-config.yaml remains pinned to v0.15.17 (per the relevant code snippet). This creates a version mismatch:

  • CI (GitHub Actions) will run ruff 0.15.18 (from requirements-dev.txt)
  • Local developers' pre-commit hooks will run ruff 0.15.17 (from .pre-commit-config.yaml)

This divergence may cause lint/format results to differ between local and CI environments, defeating the purpose of consistent automation.

🔄 Proposed fix to synchronize .pre-commit-config.yaml

Update .pre-commit-config.yaml (line 11) to match:

 - repo: https://github.com/astral-sh/ruff-pre-commit
-    rev: v0.15.17
+    rev: v0.15.18
     hooks:
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@requirements-dev.txt` at line 5, Update the ruff version in
.pre-commit-config.yaml (around line 11) from v0.15.17 to v0.15.18 to match the
version bump in requirements-dev.txt. This ensures that both CI (running from
requirements-dev.txt) and local pre-commit hooks use the same ruff version,
preventing lint/format discrepancies between environments.

mypy==2.1.0
types-requests==2.32.4.20260107
types-PyYAML==6.0.12.20250915
Expand Down