Update build.yml

This commit is contained in:
Ines Montani 2019-09-29 14:52:01 +02:00 committed by GitHub
parent d32fb03401
commit ace0d5c580
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,10 +24,7 @@ jobs:
- name: Lint with flake8 - name: Lint with flake8
run: | run: |
pip install flake8 pip install flake8
# stop the build if there are Python syntax errors or undefined names python -m flake8 spacy --count --select=E901,E999,F821,F822,F823 --show-source --statistics
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: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip==18.1 setuptools python -m pip install --upgrade pip==18.1 setuptools