1
mirror of https://github.com/home-assistant/core synced 2024-10-04 07:58:43 +02:00

Upgrade pylint, tweak config (#28798)

* Upgrade pylint to 2.4.4 and astroid to 2.3.3

https://pylint.readthedocs.io/en/latest/whatsnew/changelog.html#what-s-new-in-pylint-2-4-4
https://github.com/PyCQA/astroid/blob/astroid-2.3.3/ChangeLog

* Disable pylint score and persistence

We don't use scoring, and it can be supposedly incorrect (so worse
than ignorable) when using more than one parallel job.
This commit is contained in:
Ville Skyttä 2019-11-16 10:59:26 +02:00 committed by Fabian Affolter
parent 16f8ae1535
commit 2aee366a1f
2 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,7 @@ ignore=tests
# Use a conservative default here; 2 should speed up most setups and not hurt
# any too bad. Override on command line as appropriate.
jobs=2
persistent=no
[BASIC]
good-names=id,i,j,k,ex,Run,_,fp
@ -49,7 +50,7 @@ disable=
unused-argument
[REPORTS]
reports=no
score=no
[TYPECHECK]
# For attrs

View File

@ -8,8 +8,8 @@ codecov==2.0.15
mock-open==1.3.1
mypy==0.740
pre-commit==1.20.0
pylint==2.4.3
astroid==2.3.2
pylint==2.4.4
astroid==2.3.3
pytest-aiohttp==0.3.0
pytest-cov==2.8.1
pytest-sugar==0.9.2