From 16ebf9da4c46a46494075ff9dda49040d4e0d43c Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Mon, 7 Nov 2022 19:03:59 +1300 Subject: [PATCH] Lint updates (#3992) --- .pre-commit-config.yaml | 8 ++++---- requirements_test.txt | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9c5610d9dc..7c10978a8d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,15 +3,15 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/ambv/black - rev: 22.6.0 + rev: 22.8.0 hooks: - id: black args: - --safe - --quiet files: ^((esphome|script|tests)/.+)?[^/]+\.py$ - - repo: https://gitlab.com/pycqa/flake8 - rev: 4.0.1 + - repo: https://github.com/PyCQA/flake8 + rev: 5.0.4 hooks: - id: flake8 additional_dependencies: @@ -27,7 +27,7 @@ repos: - --branch=release - --branch=beta - repo: https://github.com/asottile/pyupgrade - rev: v3.0.0 + rev: v3.2.0 hooks: - id: pyupgrade args: [--py39-plus] diff --git a/requirements_test.txt b/requirements_test.txt index 34efaea2ed..1b79142167 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,5 +1,5 @@ pylint==2.15.5 -flake8==5.0.4 +flake8==5.0.4 # also change in .pre-commit-config.yaml when updating black==22.8.0 # also change in .pre-commit-config.yaml when updating pyupgrade==3.2.0 # also change in .pre-commit-config.yaml when updating pre-commit