aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2022-04-26 15:16:05 -0700
committerBryan Newbold <bnewbold@archive.org>2022-04-26 15:16:05 -0700
commit6ffdefc8fb08f64563645fe7bf9f2257dc9803ab (patch)
treeb20b06e08efb665270c989a2287e9bd2e0204a14
parent47a064c2cc10874aed3a3de7160c92d51039a2a8 (diff)
downloadsandcrawler-6ffdefc8fb08f64563645fe7bf9f2257dc9803ab.tar.gz
sandcrawler-6ffdefc8fb08f64563645fe7bf9f2257dc9803ab.zip
flake8: allow 'Any' types
-rw-r--r--python/.flake83
1 files changed, 2 insertions, 1 deletions
diff --git a/python/.flake8 b/python/.flake8
index 9c9aabe..c7ef5fe 100644
--- a/python/.flake8
+++ b/python/.flake8
@@ -3,11 +3,12 @@ select = C,E,F,W,ANN
# ANN003 is annotation on, eg, **kwargs
# ANN101 is annotation on 'self' (why would that be wanted?)
# ANN204 is annotation on '__init__()'
+# ANN401 is 'Any' type
# E265,E266 are restrictions on comments ('#')
# E501 is line-too-long, which we enforce with black
# W503,E203 are allowed by black
# TODO: C901 is complexity, should be re-enabled at some point
-ignore = ANN003,ANN101,ANN204,E265,E266,E501,C901,W503,E203
+ignore = ANN003,ANN101,ANN204,ANN401,E265,E266,E501,C901,W503,E203
per-file-ignores =
sandcrawler/__init__.py: F401
sandcrawler/ia.py: E402