Make flake8 fail loudly
@@ -17,18 +17,7 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
-# - name: Install dependencies
-# run: |
-# python -m pip install --upgrade pip
-# pip install -r requirements.txt
- name: Lint with flake8
run: |
pip install flake8
- # stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- # exit-zero treats all errors as warnings.
- flake8 . --exit-zero
-# - name: Test with pytest
-# run: |
-# pip install pytest
-# pytest
+ flake8 .
