mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-13 10:46:29 +03:00
Try running flake8 first
This commit is contained in:
parent
9531213846
commit
40def86fdf
|
@ -8,7 +8,17 @@ trigger:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
# Perform basic checks for most important errors (syntax etc.) Uses the config
|
||||||
|
# defined in .flake8 and overwrites the selected codes.
|
||||||
|
- job: 'Validate'
|
||||||
|
steps:
|
||||||
|
- script: |
|
||||||
|
pip install flake8
|
||||||
|
python -m flake8 spacy --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
||||||
|
displayName: 'flake8'
|
||||||
|
|
||||||
- job: 'Test'
|
- job: 'Test'
|
||||||
|
dependsOn: 'Validate'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
Python27Linux:
|
Python27Linux:
|
||||||
|
@ -61,11 +71,6 @@ jobs:
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
displayName: 'Install dependencies'
|
displayName: 'Install dependencies'
|
||||||
|
|
||||||
# Perform basic checks for most important errors (syntax etc.) Uses the config
|
|
||||||
# defined in .flake8 and overwrites the selected codes.
|
|
||||||
- script: python -m flake8 spacy --count --select=E901,E999,F821,F822,F823 --show-source --statistics
|
|
||||||
displayName: 'flake8'
|
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
python setup.py build_ext --inplace
|
python setup.py build_ext --inplace
|
||||||
pip install -e .
|
pip install -e .
|
||||||
|
|
Loading…
Reference in New Issue
Block a user