Remove flake8-pie

It crashes on Python 3.14 (`ast.Str` is gone) and is unmaintained.

`ruff` covers its rules.
This commit is contained in:
Alexander Hess 2026-12-02 21:26:01 +01:00
commit 80d2573f0d
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -109,7 +109,6 @@ dev = [
"flake8-executable (>=2.1.3,<3.0.0)",
"flake8-implicit-str-concat (>=0.7.0,<0.8.0)",
"flake8-logging (>=1.8.0,<2.0.0)",
"flake8-pie (>=0.16.0,<0.17.0)",
"flake8-pyproject (>=1.2.4,<2.0.0)",
"flake8-pytest-style (>=2.2.0,<3.0.0)",
"flake8-quotes (>=3.4.0,<4.0.0)",
@ -253,8 +252,6 @@ select = [
"ISC",
# flake8-logging => Correct use of `logging`
"LOG",
# flake8-pie => No unnecessary constructs
"PIE",
# flake8-pytest-style => Enforce a consistent style with pytest
"PT0",
# flake8-quotes => Use double quotes everywhere (complying with black)
@ -304,6 +301,8 @@ select = [
# "PERF",
# pygrep-hooks => Specific "# noqa" and "# type: ignore" comments
# "PGH",
# flake8-pie => No unnecessary constructs
# "PIE",
# Pylint => Fewer bugs and simpler code
# "PL",
# flake8-use-pathlib => `pathlib` instead of `os` functions
@ -340,8 +339,6 @@ extend-ignore = [
"FBT003",
# Every `.add()` looks like `pandas` to this rule (`ruff` omits it).
"PD005",
# `len()` is needed for `pandas` objects, as their truth value is ambiguous.
"PIE787",
# Let's not do `@pytest.mark.no_cover()` instead of `@pytest.mark.no_cover`.
"PT023",
# `ruff`'s RET504 does this better, as it allows statements in between.
@ -636,8 +633,6 @@ select = [
"N",
# pandas-vet => Idiomatic `pandas`
"PD",
# flake8-pie => No unnecessary constructs
"PIE",
# flake8-pytest-style => Enforce a consistent style with pytest
"PT",
# flake8-quotes => Use double quotes everywhere
@ -681,6 +676,8 @@ select = [
"PERF",
# pygrep-hooks => Specific "# noqa" and "# type: ignore" comments
"PGH",
# flake8-pie => No unnecessary constructs
"PIE",
# Pylint => Fewer bugs and simpler code
"PL",
# flake8-use-pathlib => `pathlib` instead of `os` functions