mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
add flake8-2020
This commit is contained in:
parent
4bde59d362
commit
7b2e7293da
3 changed files with 3 additions and 2 deletions
|
|
@ -18,6 +18,7 @@ flake8-docstrings
|
||||||
flake8-builtins
|
flake8-builtins
|
||||||
flake8-comprehensions
|
flake8-comprehensions
|
||||||
flake8-junit-report
|
flake8-junit-report
|
||||||
|
flake8-2020
|
||||||
pylint-ignore>=2020.1013
|
pylint-ignore>=2020.1013
|
||||||
mypy
|
mypy
|
||||||
# pylint doesn't support isort>=5 for now
|
# pylint doesn't support isort>=5 for now
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ ignore =
|
||||||
D400
|
D400
|
||||||
# First line should be in imperative mood
|
# First line should be in imperative mood
|
||||||
D401
|
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 =
|
exclude =
|
||||||
.git
|
.git
|
||||||
__pycache__
|
__pycache__
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
import sys
|
import sys
|
||||||
import typing as typ
|
import typing as typ
|
||||||
|
|
||||||
PY2 = sys.version < "3"
|
PY2 = sys.version_info.major < 3
|
||||||
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue