aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2022-08-12 12:18:18 -0700
committerBryan Newbold <bnewbold@archive.org>2022-08-12 12:18:18 -0700
commitc9e78dd607bcfdd0bac5741b7e2d5fcf458d7341 (patch)
tree9a24e3010fba7caa415560f1fcdabda935ad709e
parentc129824ddee29d130eedfaa47468365cf6825740 (diff)
downloadfatcat-scholar-c9e78dd607bcfdd0bac5741b7e2d5fcf458d7341.tar.gz
fatcat-scholar-c9e78dd607bcfdd0bac5741b7e2d5fcf458d7341.zip
flake8: allow 'Any' type annotations (ignore ANN401)
-rw-r--r--.flake83
1 files changed, 2 insertions, 1 deletions
diff --git a/.flake8 b/.flake8
index 62947b1..89eccf2 100644
--- a/.flake8
+++ b/.flake8
@@ -3,10 +3,11 @@ select = C,E,F,W,ANN
# ANN003 is annotation on, eg, **kwargs
# ANN101 is annotation on 'self'
# ANN204 is annotation on '__init__()'
+# ANN401 is 'Any' in type annotations
# E265,E266 are restrictions on comments ('#')
# E501 is line-too-long, which we enforce with black
# W503,E203 are allowed by black
-ignore = ANN003,ANN101,ANN204,E265,E266,E501,W503,E203
+ignore = ANN003,ANN101,ANN204,ANN401,E265,E266,E501,W503,E203
per-file-ignores =
fatcat_scholar/__init__.py: F401
tests/*.py: ANN201,ANN001