Skip to content

Commit

Permalink
remove flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
robmarkcole committed Oct 20, 2022
1 parent 06fd609 commit 801c275
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ on:


jobs:
test_and_flake8:
name: Tests + flake8
test:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -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

0 comments on commit 801c275

Please sign in to comment.