diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6426069..952fff8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,14 +31,15 @@ jobs: - name: Install dependencies run: | pip install --upgrade pip + pip install setuptools pip install .[dev] - name: Lint with flake8 run: | # Run flake8 on Python files - flake8 pyencrypt --count --show-source --max-complexity=10 --statistics + pflake8 pyencrypt --count --show-source --max-complexity=10 --statistics # Run flake8 on test files - flake8 tests --count --show-source --max-complexity=10 --statistics --ignore F401,W503 + pflake8 tests --count --show-source --max-complexity=10 --statistics --ignore F401,W503 - name: Test with pytest run: | diff --git a/pyproject.toml b/pyproject.toml index 1461afb..f57f45f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,6 +54,7 @@ dev = [ "pytest", "ipython", "flake8", + "pyproject-flake8", ] [project.scripts]