From 15f95a078770cd4258802dcf42f337cbead310c6 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Mon, 28 Nov 2022 14:49:11 +0100 Subject: [PATCH] Update flake8 and related dependencies (#82854) --- .pre-commit-config.yaml | 14 +++++++------- requirements_test_pre_commit.txt | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 08b71c2f49d..f32640890c1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ repos: - id: pyupgrade args: [--py39-plus] - repo: https://github.com/PyCQA/autoflake - rev: v1.7.7 + rev: v2.0.0 hooks: - id: autoflake args: @@ -30,17 +30,17 @@ repos: exclude_types: [csv, json] exclude: ^tests/fixtures/|homeassistant/generated/ - repo: https://github.com/PyCQA/flake8 - rev: 4.0.1 + rev: 6.0.0 hooks: - id: flake8 additional_dependencies: - - pycodestyle==2.8.0 - - pyflakes==2.4.0 + - pycodestyle==2.10.0 + - pyflakes==3.0.1 - flake8-docstrings==1.6.0 - pydocstyle==6.1.1 - - flake8-comprehensions==3.10.0 - - flake8-noqa==1.2.8 - - mccabe==0.6.1 + - flake8-comprehensions==3.10.1 + - flake8-noqa==1.3.0 + - mccabe==0.7.0 files: ^(homeassistant|script|tests)/.+\.py$ - repo: https://github.com/PyCQA/bandit rev: 1.7.4 diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index 472003c0998..f7746667654 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -1,17 +1,17 @@ # Automatically generated from .pre-commit-config.yaml by gen_requirements_all.py, do not edit -autoflake==1.7.7 +autoflake==2.0.0 bandit==1.7.4 black==22.10.0 codespell==2.1.0 -flake8-comprehensions==3.10.0 +flake8-comprehensions==3.10.1 flake8-docstrings==1.6.0 -flake8-noqa==1.2.8 -flake8==4.0.1 +flake8-noqa==1.3.0 +flake8==6.0.0 isort==5.10.1 -mccabe==0.6.1 -pycodestyle==2.8.0 +mccabe==0.7.0 +pycodestyle==2.10.0 pydocstyle==6.1.1 -pyflakes==2.4.0 +pyflakes==3.0.1 pyupgrade==3.2.2 yamllint==1.28.0