Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pre-commit autoupdate not finding ruff hooks #867

Open
AlinderS opened this issue Aug 29, 2024 · 1 comment
Open

pre-commit autoupdate not finding ruff hooks #867

AlinderS opened this issue Aug 29, 2024 · 1 comment

Comments

@AlinderS
Copy link

I am using the new Ruff hooks. This is the entry in my .pre-commit-config.yaml.

- repo: https://github.com/nbQA-dev/nbQA
  rev: 1.9.0
  hooks:
    - id: nbqa-ruff-check
      args: ["--fix", "--show-fixes"]
    - id: nbqa-ruff-format

Running the hooks works as expected, but when I run
pre-commit autoupdate
I get

[https://github.com/nbQA-dev/nbQA] Cannot update because the update target is missing these hooks: nbqa-ruff-check, nbqa-ruff-format

Additional details,
OS:
Arch Linux
Virtualenv management:
pipenv, version 2024.0.1

@MarcoGorelli
Copy link
Collaborator

thanks @AlinderS for the report

I don't know what might be causing this, but investigations / fixes would be welcome 🙏

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

No branches or pull requests

2 participants