Fix flake8

This commit is contained in:
Ines Montani 2019-03-09 02:59:29 +01:00
parent 40def86fdf
commit db03558288
1 changed files with 5 additions and 0 deletions

View File

@ -11,7 +11,12 @@ jobs:
# Perform basic checks for most important errors (syntax etc.) Uses the config
# defined in .flake8 and overwrites the selected codes.
- job: 'Validate'
pool:
vmImage: 'ubuntu-16.04'
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.7'
- script: |
pip install flake8
python -m flake8 spacy --count --select=E901,E999,F821,F822,F823 --show-source --statistics