-
Notifications
You must be signed in to change notification settings - Fork 33
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.ci] pre-commit autoupdate #816
Conversation
updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0) - [github.com/psf/black: 24.3.0 → 24.4.0](psf/black@24.3.0...24.4.0)
120932d
to
6873801
Compare
I'm stumped with this one.
It looks like pydocstyle has been deprecated and archived. I wonder if something broke between pydocstyle and the latest version of pre-commit? I'm not that familiar with the internal working of pre-commit, but it seems like we might need to replace the pydocstyle hook at some point. ruff is an alternative they give. |
updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](pre-commit/pre-commit-hooks@v4.5.0...v4.6.0) - [github.com/psf/black: 24.3.0 → 24.4.2](psf/black@24.3.0...24.4.2)
925642d
to
7ffeb5a
Compare
…mso into pre-commit-ci-update-config
I dug around a little bit, I think the error isn't a pre-commit error, but related to the |
I can second this, I ran it on 3.11 and didn't get the error. To add to the reading, it looks like this may have some info about FSTRING_MIDDLE. It may actually be an issue with pre-commit (pydocstyle) being unable to parse the updated lexing of f-strings. Therefore, I think we may be forced to replace |
https://github.com/astral-sh/ruff-pre-commit This looks like what we want |
Tried to test this in #819, so we'll see if the linting works. |
updates: