mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Try running flake8 first
This commit is contained in:
parent
9531213846
commit
40def86fdf
|
@ -8,7 +8,17 @@ trigger:
|
|||
|
||||
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'
|
||||
dependsOn: 'Validate'
|
||||
strategy:
|
||||
matrix:
|
||||
Python27Linux:
|
||||
|
@ -61,11 +71,6 @@ jobs:
|
|||
pip install -r requirements.txt
|
||||
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: |
|
||||
python setup.py build_ext --inplace
|
||||
pip install -e .
|
||||
|
|
Loading…
Reference in New Issue
Block a user