Prevent pylint out-of-memory failures (#136020)
parent
9730ac4e72
commit
63d294e58e
|
@ -61,13 +61,14 @@ repos:
|
||||||
name: mypy
|
name: mypy
|
||||||
entry: script/run-in-env.sh mypy
|
entry: script/run-in-env.sh mypy
|
||||||
language: script
|
language: script
|
||||||
types_or: [python, pyi]
|
|
||||||
require_serial: true
|
require_serial: true
|
||||||
|
types_or: [python, pyi]
|
||||||
files: ^(homeassistant|pylint)/.+\.(py|pyi)$
|
files: ^(homeassistant|pylint)/.+\.(py|pyi)$
|
||||||
- id: pylint
|
- id: pylint
|
||||||
name: pylint
|
name: pylint
|
||||||
entry: script/run-in-env.sh pylint -j 0 --ignore-missing-annotations=y
|
entry: script/run-in-env.sh pylint --ignore-missing-annotations=y
|
||||||
language: script
|
language: script
|
||||||
|
require_serial: true
|
||||||
types_or: [python, pyi]
|
types_or: [python, pyi]
|
||||||
files: ^(homeassistant|tests)/.+\.(py|pyi)$
|
files: ^(homeassistant|tests)/.+\.(py|pyi)$
|
||||||
- id: gen_requirements_all
|
- id: gen_requirements_all
|
||||||
|
|
Loading…
Reference in New Issue