aboutsummaryrefslogtreecommitdiff
path: root/.flake8
AgeCommit message (Collapse)AuthorFilesLines
2022-02-16flake8: squelch warnings for star imports even harderEli Schwartz1-1/+1
mesonbuild.mesonlib is gathering its submodules into one module. We suppressed one warning for it, but another one cropped up instead.
2021-10-04flake8: extend the ignore list, do not overrideEli Schwartz1-1/+1
Some things are disabled by default because most people are not interested in them. But (non-obviously) adding a list of ignores to the flake8 configuration file will actually turn back on anything you didn't explicitly specify. This reduces the number of flake8 warnings by about 100, a vast chunk of which are E704 multiple statements on one line (def) which turn out to actually be T.overload or typing definitions with def func(): ... which is understandably quite reasonable to permit.
2021-09-14apply flake8 fixes for unused imports and missing importsEli Schwartz1-0/+2
2020-11-04Bare exceptions are no longer allowed [NFC]Luke Drummond1-2/+0
The last instances of try: ... except: ... were removed in bf98ffca. The sideci.yml file was updated, but the flake8 config still allows this. Ensure that flake8 tests fail if this questionable construct appears again.
2019-07-11add missing commasMichael Hirsch, Ph.D1-4/+4
2019-07-11ENH: metadata PEP390 setup.cfgMichael Hirsch, Ph.D1-0/+33
https for Meson docs url Co-Authored-By: Elliott Sales de Andrade <quantum.analyst@gmail.com>