mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-25 00:34:20 +03:00
--exclude=spacy/lang to avoid flake8 infinite loop
It is not clear why spacy/lang throws flake8 for a loop.
This commit is contained in:
parent
fa7aafd4c7
commit
6f42b240bc
|
@ -25,7 +25,7 @@ install:
|
||||||
script:
|
script:
|
||||||
- "pip install pytest pytest-timeout"
|
- "pip install pytest pytest-timeout"
|
||||||
- if [[ "${VIA}" == "compile" ]]; then python -m pytest --tb=native spacy; fi
|
- if [[ "${VIA}" == "compile" ]]; then python -m pytest --tb=native spacy; fi
|
||||||
- if [[ "${VIA}" == "flake8" ]]; then flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics; fi
|
- if [[ "${VIA}" == "flake8" ]]; then flake8 . --count --exclude=spacy/lang --select=E901,E999,F821,F822,F823 --show-source --statistics; fi
|
||||||
- if [[ "${VIA}" == "pypi_nightly" ]]; then python -m pytest --tb=native --models --en `python -c "import os.path; import spacy; print(os.path.abspath(os.path.dirname(spacy.__file__)))"`; fi
|
- if [[ "${VIA}" == "pypi_nightly" ]]; then python -m pytest --tb=native --models --en `python -c "import os.path; import spacy; print(os.path.abspath(os.path.dirname(spacy.__file__)))"`; fi
|
||||||
- if [[ "${VIA}" == "sdist" ]]; then python -m pytest --tb=native `python -c "import os.path; import spacy; print(os.path.abspath(os.path.dirname(spacy.__file__)))"`; fi
|
- if [[ "${VIA}" == "sdist" ]]; then python -m pytest --tb=native `python -c "import os.path; import spacy; print(os.path.abspath(os.path.dirname(spacy.__file__)))"`; fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user