From 6ffdefc8fb08f64563645fe7bf9f2257dc9803ab Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 26 Apr 2022 15:16:05 -0700 Subject: flake8: allow 'Any' types --- python/.flake8 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3