From 801c275d4ca985f280de5b751df2472ccba234e1 Mon Sep 17 00:00:00 2001 From: Robin Cole Date: Thu, 20 Oct 2022 21:09:25 +0100 Subject: [PATCH] remove flake8 --- .github/workflows/CI.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index fca1d12..c349efd 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -15,8 +15,8 @@ on: jobs: - test_and_flake8: - name: Tests + flake8 + test: + name: Tests runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -26,27 +26,11 @@ jobs: uses: actions/setup-python@v2 with: python-version: 3.8 - - name: Cache - uses: actions/cache@v2 - with: - path: ~/.cache/pip - key: pip-flake8 - name: Install dependencies run: | python -m pip install --upgrade pip wheel - python -m pip install --upgrade flake8 wemake-python-styleguide python -m pip install -r requirements.txt python -m pip install -r requirements_test.txt - name: Run pytest run: | - pytest - - name: Lint with flake8 - run: | - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics - - name: Docstrings - run: | - flake8 . --inline-quotes '"' --count --exit-zero --max-complexity=15 --max-line-length=90 --statistics --select=D,DAR - - name: General stats - run: | - flake8 . --inline-quotes '"' --count --exit-zero --max-complexity=15 --max-line-length=90 --statistics --ignore=I,P,WPS305,C812,E203,W503,E800,D,DAR,F - + pytest \ No newline at end of file