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
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. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
python -m flake8 spacy --count --select=E901,E999,F821,F822,F823 --show-source --statistics
- name: Install dependencies
run: |
python -m pip install --upgrade pip==18.1 setuptools