A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.
1.05k
stars
103
forks
source link
Remove decorators named validator and root_validator from B902 checks #459
Closed
natemcmaster closed 5 months ago
What
This removes methods named
validator
androot_validator
from the B902 checkWhy
Fixes https://github.com/PyCQA/flake8-bugbear/issues/413
Removes false positives for common cases, like using attrs validators
Testing
ran
tox
and all tests are passing