From 30a0e792e1a574255119365c9562066b7241f1e4 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Mon, 25 Mar 2024 23:31:39 +0300 Subject: [PATCH] Update flake8 --- CHANGELOG.md | 1 + poetry.lock | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 814164502..921f8aa0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,7 @@ Semantic versioning in our case means: - Adds `ImportObjectCollisionViolation` to detect the same objects imported under different aliases - Adds `reveal_locals` to the list of forbidden functions +- Updates `flake8` to `7.x` ### Bugfixes diff --git a/poetry.lock b/poetry.lock index 41f62da5a..a5ec30835 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2550,4 +2550,4 @@ testing = ["big-O", "jaraco.functools", "jaraco.itertools", "more-itertools", "p [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "b0dc266b9df2c79c631755339db209212b7fc2e4ba4120a85d07ea50c3e01ae7" +content-hash = "23b49a84c6930e39a08f4d67a517d850d6ce3116b527a53c0e5181b9a02f6a8a" diff --git a/pyproject.toml b/pyproject.toml index ab66fb430..1b3ae1769 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,7 @@ wemake = "wemake_python_styleguide.formatter:WemakeFormatter" [tool.poetry.dependencies] python = "^3.9" -flake8 = ">5" +flake8 = "^7.0" attrs = "*" setuptools = "*" # only needed for flake8-commas typing_extensions = ">=4.0,<5.0"