From b3fc1a0b0cd1fe5c08487f8048fbe70a37d922bc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 08:24:35 +0000 Subject: [PATCH 1/4] Update flake8 requirement from <7.0,>=6.0 to >=6.0,<8.0 Updates the requirements on [flake8](https://github.com/pycqa/flake8) to permit the latest version. - [Commits](https://github.com/pycqa/flake8/compare/6.0.0...7.0.0) --- updated-dependencies: - dependency-name: flake8 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index ac527b6..a9571a4 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -7,7 +7,7 @@ bandit[toml] >=1.0, <2.0 black >=23.0, <24.0 -flake8 >=6.0, <7.0 +flake8 >=6.0, <8.0 flake8-bandit >=4.0, <5.0 flake8-bugbear >=23.0, <24.0 flake8-builtins >=2.0, <3.0 From 181cf8ed38d1dd63a98f1d2f79eb6a1496442df2 Mon Sep 17 00:00:00 2001 From: andthum <56444687+andthum@users.noreply.github.com> Date: Mon, 8 Jan 2024 16:55:55 +0100 Subject: [PATCH 2/4] [requirements-dev.txt]: Update flake8 Update flake8 from `>=6.0, <8.0` to `>=7.0, <8.0`. --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index a9571a4..b7d2554 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -7,7 +7,7 @@ bandit[toml] >=1.0, <2.0 black >=23.0, <24.0 -flake8 >=6.0, <8.0 +flake8 >=7.0, <8.0 flake8-bandit >=4.0, <5.0 flake8-bugbear >=23.0, <24.0 flake8-builtins >=2.0, <3.0 From 85109fab522ff017f3aac6aa579ff92334bc1f97 Mon Sep 17 00:00:00 2001 From: andthum <56444687+andthum@users.noreply.github.com> Date: Mon, 8 Jan 2024 16:56:44 +0100 Subject: [PATCH 3/4] [.pre-commit-config.yaml]: Update flake8 Update https://github.com/PyCQA/flake8 from `6.1.0` to `7.0.0`. --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 01e8fb6..4a6cbe2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -174,7 +174,7 @@ repos: - "--color" - repo: "https://github.com/PyCQA/flake8" - rev: "6.1.0" + rev: "7.0.0" hooks: # Lint Python code with Flake8. - id: "flake8" From 7352cb9e5e3fbe19f1d8e585740632b52093f236 Mon Sep 17 00:00:00 2001 From: andthum <56444687+andthum@users.noreply.github.com> Date: Mon, 8 Jan 2024 16:57:05 +0100 Subject: [PATCH 4/4] [.flake8]: Remove Deprecated Option `--include-in-doctest` The options `--include-in-doctest` and `--exclude-from-doctest` that allowed the user to specify the files that should be checked by PyFlakes for doctest syntax (https://flake8.pycqa.org/en/6.1.0/user/options.html#cmdoption-flake8-include-in-doctest) have been removed in version 7.0.0 of flake8 (https://flake8.pycqa.org/en/latest/release-notes/7.0.0.html#backwards-incompatible-changes). --- .flake8 | 2 -- 1 file changed, 2 deletions(-) diff --git a/.flake8 b/.flake8 index af1d7a5..5353629 100644 --- a/.flake8 +++ b/.flake8 @@ -80,8 +80,6 @@ extend-select = W504, # List of glob patterns to include for checks. filename = *.py -# Files that are checked by PyFlakes for doctest syntax. -include-in-doctest = *.py, *.rst # Number of spaces used for indentation. indent-size = 4 # Maximum allowed McCabe complexity