Update python.yml

This commit is contained in:
Klemek
2021-04-09 00:46:19 +02:00
committed by GitHub
parent daaededd19
commit aba1b10ef1
+1 -4
View File
@@ -17,16 +17,13 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 black
python -m pip install flake8
- name: Lint with flake8
run: |
# 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. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Code style with black
run: |
black --check
test:
runs-on: ubuntu-latest
strategy: