From c9e78dd607bcfdd0bac5741b7e2d5fcf458d7341 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 12 Aug 2022 12:18:18 -0700 Subject: flake8: allow 'Any' type annotations (ignore ANN401) --- .flake8 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3