add flake8-2020

This commit is contained in:
Manuel Barkhau 2020-10-05 20:52:04 +00:00
parent 4bde59d362
commit 7b2e7293da
3 changed files with 3 additions and 2 deletions

View file

@ -18,6 +18,7 @@ flake8-docstrings
flake8-builtins
flake8-comprehensions
flake8-junit-report
flake8-2020
pylint-ignore>=2020.1013
mypy
# pylint doesn't support isort>=5 for now

View file

@ -75,7 +75,7 @@ ignore =
D400
# First line should be in imperative mood
D401
select = A,AAA,D,C,E,F,W,H,B,D212,D404,D405,D406,B901,B950
select = A,AAA,D,C,E,F,W,H,B,D212,D404,D405,D406,B901,B950,YTT
exclude =
.git
__pycache__

View file

@ -6,7 +6,7 @@
import sys
import typing as typ
PY2 = sys.version < "3"
PY2 = sys.version_info.major < 3
try: