mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 09:17:53 +00: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:
parent
16f8ae1535
commit
2aee366a1f
3
pylintrc
3
pylintrc
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user