From bf240904635d7d170c2b6d71e9c7bb2ec717bcc4 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Tue, 12 Oct 2021 15:33:08 +0200 Subject: [PATCH] Update flake8 related packages (#57538) --- .pre-commit-config.yaml | 12 ++++++------ requirements_test_pre_commit.txt | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 18bb8aa58c3..ef58733100b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,17 +22,17 @@ repos: - --quiet-level=2 exclude_types: [csv, json] exclude: ^tests/fixtures/ - - repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.2 + - repo: https://github.com/PyCQA/flake8 + rev: 4.0.1 hooks: - id: flake8 additional_dependencies: - - pycodestyle==2.7.0 - - pyflakes==2.3.1 + - pycodestyle==2.8.0 + - pyflakes==2.4.0 - flake8-docstrings==1.6.0 - - pydocstyle==6.0.0 + - pydocstyle==6.1.1 - flake8-comprehensions==3.7.0 - - flake8-noqa==1.1.0 + - flake8-noqa==1.2.0 - mccabe==0.6.1 files: ^(homeassistant|script|tests)/.+\.py$ - repo: https://github.com/PyCQA/bandit diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt index ad9e168f3dd..ffa11a0fc30 100644 --- a/requirements_test_pre_commit.txt +++ b/requirements_test_pre_commit.txt @@ -5,12 +5,12 @@ black==21.9b0 codespell==2.0.0 flake8-comprehensions==3.7.0 flake8-docstrings==1.6.0 -flake8-noqa==1.1.0 -flake8==3.9.2 +flake8-noqa==1.2.0 +flake8==4.0.1 isort==5.9.3 mccabe==0.6.1 -pycodestyle==2.7.0 -pydocstyle==6.0.0 -pyflakes==2.3.1 +pycodestyle==2.8.0 +pydocstyle==6.1.1 +pyflakes==2.4.0 pyupgrade==2.27.0 yamllint==1.26.1