-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
Support for pyi files now types_or is implemented #247
Comments
Or alternatively is there a way to avoid this in my local config: hooks:
- id: reorder-python-imports
files: \.pyi?$
types: [] ... as using hooks:
- id: reorder-python-imports
types_or: [python, pyi] ... doesn't seem to do anything in the |
@Greedquest in your own config you'll also have to override
|
@MarcoGorelli Oh that's kind of crazy but makes sense I suppose, thanks! Is |
Further to #103 which was closed at the time.
Would it be possible to update the pre-commit hooks for this repo to allow it to run by default on pyi files?
The text was updated successfully, but these errors were encountered: