This commit is contained in:
Lucidiot 2019-07-06 20:25:45 +02:00
parent 31d98f9d57
commit 8abbea8160
No known key found for this signature in database
GPG Key ID: AE3F7205692FA205
5 changed files with 20 additions and 5 deletions

View File

@ -20,9 +20,18 @@ before_script:
tests:
stage: test
script:
- pytest --cov=usda
- codecov
- flake8
- pytest --cov=usda
- codecov
flake8:
stage: test
script:
- flake8
doc8:
stage: test
script:
- doc8
deploy-pypi:
stage: deploy

View File

@ -24,7 +24,7 @@ Items
^^^^^
.. automodule:: usda.domain
:members: Food, Nutrient, Measure
:members: Food, Nutrient, Measure
Food Reports
^^^^^^^^^^^^

View File

@ -175,7 +175,7 @@ Other topics
.. toctree::
:maxdepth: 2
guide
contributing
api

View File

@ -2,5 +2,6 @@ pytest
pytest-cov
httmock
flake8>=3.5
doc8>=0.8
codecov
Sphinx>=1.8.1

5
setup.cfg Normal file
View File

@ -0,0 +1,5 @@
[flake8]
exclude = .git,__pycache__,docs,*.pyc,venv
[doc8]
ignore-path=**/*.txt,*.txt,*.egg-info,docs/_build,venv,.git