-
-
Notifications
You must be signed in to change notification settings - Fork 388
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
Improve .pyi files support #1268
Comments
We should also allow almost any names in |
Also ignoring:
Complexity rules (I still need to look through all of them):
We also need a |
This is way too big for |
WPS211 is another complexity rule to consider for ignoring, It should already trigger on the actual implementation in the .py file. Would it make sense to ignore WPS211 (too many args) and WPS428 (Ellipsis as unused code) on |
Currently, we have a lot of rules that are not very aligned with
.pyi
files.Here are some of them:
...
usage as a placeholderAnd probably others as well.
What we need to do here is ignoring this violations when
filename
has.pyi
extension.And better docs about this case.
Related: https://github.com/dry-python/returns/blob/master/setup.cfg#L50
The text was updated successfully, but these errors were encountered: