comic / grand-challenge.org

A platform for end-to-end development of machine learning solutions in biomedical imaging
https://grand-challenge.org
Apache License 2.0
168 stars 50 forks source link

Ignore B909 #3322

Closed amickan closed 2 months ago

amickan commented 2 months ago

With the most recent bugbear release, more checks were added to the B909 check and some of our code was flagged. I checked all instances and think what we do is safe. I don't think we want to ignore B909 entirely (?), so I instead added the noqa comments wherever necessary.

jmsmkn commented 2 months ago

This is probably https://github.com/PyCQA/flake8-bugbear/issues/467, pinning bugbear (or excluding this version) is a better option.