Add 'pyproject' to types_or for ruff checks#158
Conversation
bn-andrew
left a comment
There was a problem hiding this comment.
Nice one, pending that upgrade in identify 👍🏻
f004428 to
836250e
Compare
|
Hmm, I'm wondering if maybe we should only suggest this in the documentation for now rather than changing the hook itself. The version of pre-commit I have installed from the Arch repos errors out on unknown type tags, so I'm a bit worried that this will break users with older pre-commit/identify installations. I'm curious to get your thoughts (and maybe @MichaReiser's as well). |
|
Good point. Let me use https://packaging.python.org/en/latest/guides/analyzing-pypi-package-downloads/ to see how long it will take for the vast majority of downloads to be on |
Summary
This allows ruff to check RUF200 and other checks in pyproject.toml
Test Plan
pre-commit try-repo