diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a003327..02fc58e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: require_serial: true - id: flake8 name: flake8 - entry: pflake8 + entry: flake8 types: [python] language: system require_serial: true diff --git a/pyproject.toml b/pyproject.toml index 68a2624..a963cb2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,11 +47,12 @@ classifiers = [ develop = [ "black==22.10.0", "coverage==6.5", + 'flake8==6.0.0; python_version >= "3.8"', + 'flake8==5.0.4; python_version < "3.8"', + "flake8-pyproject==1.2.2", "gitlint-core==0.18.0", "isort==5.10.1", "pre-commit==2.20", - 'pyproject-flake8==6.0.0; python_version >= "3.8"', - 'pyproject-flake8==5.0.4.post1; python_version < "3.8"', ] packaging = [ "build",