diff options
author | Bryan Newbold <bnewbold@archive.org> | 2022-08-12 12:18:18 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2022-08-12 12:18:18 -0700 |
commit | c9e78dd607bcfdd0bac5741b7e2d5fcf458d7341 (patch) | |
tree | 9a24e3010fba7caa415560f1fcdabda935ad709e /.flake8 | |
parent | c129824ddee29d130eedfaa47468365cf6825740 (diff) | |
download | fatcat-scholar-c9e78dd607bcfdd0bac5741b7e2d5fcf458d7341.tar.gz fatcat-scholar-c9e78dd607bcfdd0bac5741b7e2d5fcf458d7341.zip |
flake8: allow 'Any' type annotations (ignore ANN401)
Diffstat (limited to '.flake8')
-rw-r--r-- | .flake8 | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |