Skip to content

Commit 64b1a77

Browse files
CoMPaTechbouwew
authored andcommitted
Further cleanup
1 parent b14b056 commit 64b1a77

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,32 @@ default_language_version:
99
repos:
1010
# Run manually in CI skipping the branch checks
1111
- repo: https://github.com/PyCQA/isort
12-
rev: 5.10.1
12+
rev: 5.11.4
1313
hooks:
1414
- id: isort
1515
- repo: https://github.com/pre-commit/pre-commit-hooks
16-
rev: v4.2.0
16+
rev: v4.4.0
1717
hooks:
1818
- id: check-executables-have-shebangs
1919
stages: [manual]
2020
- id: no-commit-to-branch
2121
args:
2222
- --branch=main
2323
- repo: https://github.com/asottile/pyupgrade
24-
rev: v3.1.0
24+
rev: v3.3.1
2525
hooks:
2626
- id: pyupgrade
2727
args: [--py39-plus]
2828
- repo: https://github.com/psf/black
29-
rev: 22.10.0
29+
rev: 22.12.0
3030
hooks:
3131
- id: black
3232
args:
3333
- --safe
3434
- --quiet
3535
files: ^((plugwise|tests)/.+)?[^/]+\.py$
3636
- repo: https://github.com/codespell-project/codespell
37-
rev: v2.1.0
37+
rev: v2.2.2
3838
hooks:
3939
- id: codespell
4040
args:
@@ -69,11 +69,11 @@ repos:
6969
hooks:
7070
- id: yamllint
7171
- repo: https://github.com/pre-commit/mirrors-prettier
72-
rev: v2.7.1
72+
rev: v3.0.0-alpha.4
7373
hooks:
7474
- id: prettier
7575
- repo: https://github.com/cdce8p/python-typing-update
76-
rev: v0.5.0
76+
rev: v0.5.1
7777
hooks:
7878
# Run `python-typing-update` hook manually from time to time
7979
# to update python typing syntax.

scripts/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if [ -f "${my_venv}/bin/activate" ]; then
1212
. "${my_venv}/bin/activate"
1313
# Install commit requirements
1414
pip install wheel
15-
pip install --upgrade -r requirements_commit.txt -c https://raw.githubusercontent.com/home-assistant/core/dev/homeassistant/package_constraints.txt -r https://raw.githubusercontent.com/home-assistant/core/dev/requirements_test_pre_commit.txt
15+
pip install --upgrade -e . -r requirements_commit.txt -c https://raw.githubusercontent.com/home-assistant/core/dev/homeassistant/package_constraints.txt -r https://raw.githubusercontent.com/home-assistant/core/dev/requirements_test_pre_commit.txt
1616
# Install pre-commit hook
1717
"${my_venv}/bin/pre-commit" install
1818
else

scripts/setup_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if [ -f "${my_venv}/bin/activate" ]; then
1111
# shellcheck disable=SC1091
1212
. "${my_venv}/bin/activate"
1313
# Install test requirements
14-
pip install --upgrade -r requirements_test.txt -c https://raw.githubusercontent.com/home-assistant/core/dev/homeassistant/package_constraints.txt -r https://raw.githubusercontent.com/home-assistant/core/dev/requirements_test.txt -r https://raw.githubusercontent.com/home-assistant/core/dev/requirements_test_pre_commit.txt
14+
pip install --upgrade -e . -r requirements_test.txt -c https://raw.githubusercontent.com/home-assistant/core/dev/homeassistant/package_constraints.txt -r https://raw.githubusercontent.com/home-assistant/core/dev/requirements_test.txt -r https://raw.githubusercontent.com/home-assistant/core/dev/requirements_test_pre_commit.txt
1515
# Install pre-commit hook
1616
"${my_venv}/bin/pre-commit" install
1717
else

0 commit comments

Comments
 (0)