Skip to content
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

New flake8-bugbear version breaks stylecheck #482

Closed
ftm opened this issue May 5, 2019 · 0 comments · Fixed by #484
Closed

New flake8-bugbear version breaks stylecheck #482

ftm opened this issue May 5, 2019 · 0 comments · Fixed by #484
Labels
bug Unexpected behavior

Comments

@ftm
Copy link
Contributor

ftm commented May 5, 2019

Version 19.3.0 of flake8-bugbear introduced the new warnings B009 and B010 relating to the use of getattr() and setattr() with a constant, i.e. getattr(Input(), "input_type") (PyCQA/flake8-bugbear#55).

This is causing the CI to fail as that pattern is used 7 times in tests/test_widgets.py (see https://travis-ci.org/wtforms/wtforms/jobs/528390668 from #481 for an example failing build). The lines causing the issue are:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected behavior
Development

Successfully merging a pull request may close this issue.

1 participant