File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -47,14 +47,14 @@ repos:
4747 rev : v1.37.1
4848 hooks :
4949 - id : yamllint
50- - repo : local
50+ - repo : https://github.com/pycqa/pylint
51+ rev : v3.3.4
5152 hooks :
5253 - id : pylint
53- name : pylint
54- args : [-j 0]
55- entry : venv/bin/pylint
56- language : system
54+ args : [-j, "0", --disable=import-error]
5755 files : ^(custom_components|tests)/.+\.py$
56+ additional_dependencies :
57+ - pylint_strict_informational
5858 - repo : https://github.com/pre-commit/mirrors-mypy
5959 rev : v1.17.1
6060 hooks :
Original file line number Diff line number Diff line change @@ -1773,7 +1773,7 @@ async def run_one_test_exception(test_data):
17731773 ast .parse (source )
17741774 exc = ast .get_exception ()
17751775 if exc is not None :
1776- if type (expect ) == set :
1776+ if isinstance (expect , set ) :
17771777 assert exc in expect
17781778 else :
17791779 assert exc == expect
You can’t perform that action at this time.
0 commit comments