1
0
Fork 0

Merge branch 'pr/enable_pylint_py3k' into 'master'

pylint: Enable python3 porting checker

See merge request librespacefoundation/satnogs/satnogs-network!828
merge-requests/828/merge
Fabian P. Schmidt 2019-12-17 09:23:52 +00:00
commit 9cb41da197
3 changed files with 31 additions and 20 deletions

View File

@ -12,3 +12,14 @@ disable=
R0914,
W0201,
W0703,
# py3k transition issues:
E1608, # old-octal-literal
W1612, # unicode-builtin
W1618, # no-absolute-import
W1619, # old-divison
W1633, # round-builtin
W1645, # exception-message-attribute
W1646, # invalid-str-codec
W1648, # bad-python3-import
W1655, # dict-keys-not-iterating
W1658, # deprecated-urllib-function

View File

@ -5,23 +5,23 @@ ignored-argument-names=args|kwargs
[MESSAGES CONTROL]
disable=
C0103,
C0111,
C0412,
E1101,
E1121,
R0201,
R0401,
C0103, # invalid-name
C0111, # missing-docstring
C0412, # ungrouped-imports
E1101, # no-member
E1121, # too-many-function-args
R0201, # no-self-use
R0401, # cyclic-import
R0801, # needs to remain disabled see https://github.com/PyCQA/pylint/issues/214
R0901,
R0903,
R0912,
R0913,
R0914,
R0915,
W0201,
W0621,
W0622,
W0703,
W1505,
W5101,
R0901, # too-many-ancestors
R0903, # too-few-public-methods
R0912, # too-many-branches
R0913, # too-many-arguments
R0914, # too-many-locals
R0915, # too-many-statements
W0201, # attribute-defined-outside-init
W0621, # redefined-outer-name
W0622, # redefined-builtin
W0703, # broad-except
W1505, # deprecated-method
W5101, # model-missing-unicode

View File

@ -44,7 +44,7 @@ deps =
pylint=={[depversions]pylint}
pylint-django=={[depversions]pylint_django}
extras = dev
commands = pylint \
commands = pylint --py3k\
{envsitepackagesdir}/network \
{envsitepackagesdir}/auth0login