Skip to content
Open
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 .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.11.9
rev: v0.14.10
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🌐 Web query:

ruff-pre-commit v0.14.10 release tag github

💡 Result:

ruff-pre-commit v0.14.10 exists as a GitHub release/tag in astral-sh/ruff-pre-commit (released 2025-12-18, commit 5ba58ac). [1]

Links:

Release (tag): https://github.com/astral-sh/ruff-pre-commit/releases/tag/v0.14.10
Tag (tree):    https://github.com/astral-sh/ruff-pre-commit/tree/v0.14.10
Ruff notes:    https://github.com/astral-sh/ruff/releases/tag/0.14.10

[1][2]

Sources: [1] https://github.com/astral-sh/ruff-pre-commit/releases/tag/v0.14.10, [2] https://github.com/astral-sh/ruff-pre-commit/tree/v0.14.10


🌐 Web query:

ruff-pre-commit breaking changes v0.11.9 to v0.14.10

💡 Result:

Between ruff-pre-commit v0.11.9 (May 9, 2025) and v0.14.10 (Dec 18, 2025), the practical breaking change in pre-commit configuration is:

  • Linter hook id renamed: ruffruff-check (formatter hook remains ruff-format). (github.com)

Minimal config change:

 repos:
 - repo: https://github.com/astral-sh/ruff-pre-commit
   rev: v0.14.10
   hooks:
-  - id: ruff
+  - id: ruff-check
   - id: ruff-format

If you were using fixes, keep the same args (just attach them to ruff-check instead of ruff). (github.com)

Citations:


🌐 Web query:

ruff-pre-commit changelog releases

💡 Result:

  • ruff-pre-commit “changelog / releases”: it’s tracked via the project’s GitHub Releases page (tags like v0.14.14, v0.14.13, etc.). The latest shown there is v0.14.14 (Jan 22), and each release points you to the corresponding Ruff release notes. [1]
  • Where the actual change details live: because ruff-pre-commit is essentially a wrapper that follows Ruff versions, the substantive changelog is typically in the linked Ruff release for the same version. [1]
  • Docs confirmation / how you pin versions: Ruff’s docs show using ruff-pre-commit with rev: v0.14.14 in .pre-commit-config.yaml. [2]

Sources:
[1] astral-sh/ruff-pre-commit releases page (GitHub)
[2] Ruff docs “Integrations → pre-commit”


🏁 Script executed:

cat -n .pre-commit-config.yaml

Repository: opsmill/infrahub-sdk-python

Length of output: 733


Update hook id from ruff to ruff-check on line 19.

The v0.14.10 tag exists and is valid, but between v0.11.9 and v0.14.10, the linter hook id was renamed from ruff to ruff-check. Update line 19 from - id: ruff to - id: ruff-check (the formatter hook ruff-format on line 22 requires no change).

Required change
  - repo: https://github.com/astral-sh/ruff-pre-commit
    rev: v0.14.10
    hooks:
-     - id: ruff
+     - id: ruff-check
        args: [--fix]
      - id: ruff-format
🤖 Prompt for AI Agents
In @.pre-commit-config.yaml at line 16, Replace the outdated hook id 'ruff' with
the new 'ruff-check' in the pre-commit config: locate the hook block that
references rev: v0.14.10 and change the line "- id: ruff" to "- id: ruff-check"
(leave the existing "ruff-format" formatter hook unchanged).

hooks:
# Run the linter.
- id: ruff
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ dev = [
{include-group = "types"},
"ipython",
"requests",
"pre-commit>=2.20.0",
"prek>=0.3.0",
"codecov",
"invoke>=2.2.0",
"towncrier>=24.8.0",
Expand Down
104 changes: 26 additions & 78 deletions uv.lock

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