Currently, we have a lot of rules that are not very aligned with .pyi files.
Here are some of them:
... usage as a placeholder
- complexity rules like number of arguments, methods, etc (we cannot control things like it in annotations)
And 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
Currently, we have a lot of rules that are not very aligned with
.pyifiles.Here are some of them:
...usage as a placeholderAnd probably others as well.
What we need to do here is ignoring this violations when
filenamehas.pyiextension.And better docs about this case.
Related: https://github.com/dry-python/returns/blob/master/setup.cfg#L50