aboutsummaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-09-15 00:16:25 -0400
committerEli Schwartz <eschwartz@archlinux.org>2021-10-04 16:29:31 -0400
commitc582abbbcf7cb8e76f02fe87bb3d6a31fc44fff7 (patch)
tree1528afa822b696b323267c8e573371c6e01f46fe /.flake8
parent52c4df1ba7ed9e6bc30d66acb00c2c8e28706c8f (diff)
downloadmeson-c582abbbcf7cb8e76f02fe87bb3d6a31fc44fff7.zip
meson-c582abbbcf7cb8e76f02fe87bb3d6a31fc44fff7.tar.gz
meson-c582abbbcf7cb8e76f02fe87bb3d6a31fc44fff7.tar.bz2
flake8: extend the ignore list, do not override
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.
Diffstat (limited to '.flake8')
-rw-r--r--.flake82
1 files changed, 1 insertions, 1 deletions
diff --git a/.flake8 b/.flake8
index 569b26b..dceae29 100644
--- a/.flake8
+++ b/.flake8
@@ -1,5 +1,5 @@
[flake8]
-ignore =
+extend-ignore =
# E241: multiple spaces after ':'
E241,
# E251: unexpected spaces around keyword / parameter equals