Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 13, 2025

What does this PR do?

Updates all pre-commit hook dependencies to their latest stable versions and adjusts configuration for compatibility.

Hook version updates:

  • pre-commit/pre-commit-hooks: v4.5.0 → v6.0.0
  • codespell: v2.2.6 → v2.4.1
  • black: 23.12.1 → 25.11.0
  • mdformat: 0.7.17 → 0.7.22 (pinned to 0.7.x - mdformat 1.0.0 incompatible with mdformat_frontmatter)
  • ruff: v0.1.9 → v0.14.5

Configuration changes:

  • Added exclude: '\.ipynb$' to ruff hook to prevent false positives in test notebooks (which intentionally contain broken code)

Code fixes from updated hooks:

  • Fixed typo: "simulatin" → "simulating" in test_execute.py
  • Split long f-string in engines.py to meet 120 char limit
  • Applied black/mdformat formatting to various files

Fixes #<issue_number>

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/executablebooks/mdformat/tags
    • Triggering command: curl -s REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>Chore: update the precommit config</issue_title>
<issue_description>Update the dependencies and config settings.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Update precommit configuration and dependencies Update pre-commit hooks to latest versions Nov 13, 2025
Copilot AI requested a review from Borda November 13, 2025 21:18
Copilot finished work on behalf of Borda November 13, 2025 21:18
@willingc willingc self-requested a review November 13, 2025 22:34
@willingc willingc mentioned this pull request Nov 13, 2025
@willingc willingc closed this Nov 14, 2025
@willingc
Copy link
Member

Superceded by #843

@willingc willingc deleted the copilot/update-precommit-config branch November 14, 2025 04:21
@Borda
Copy link
Member

Borda commented Nov 14, 2025

Superceded by #843

What is different in the newer one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chore: update the precommit config

3 participants