StubsΒΆ
If you are using stub .pyi
files
and flake8-pyi extension
you might need to ignore several violations that are bundled with this linter.
You can still do it on per-file bases as usual.
Use *.pyi
glob to list ignored violations:
# Inside `setup.cfg`:
[flake8]
per-file-ignores =
*.pyi: WPS428, WPS604
You can look at the returns project as an example.