This commit is contained in:
Lucidiot 2019-07-06 20:20:35 +02:00
parent 06a329274d
commit b668b0c2e6
No known key found for this signature in database
GPG Key ID: AE3F7205692FA205
4 changed files with 14 additions and 4 deletions

View File

@ -25,6 +25,11 @@ flake8:
script: script:
- flake8 - flake8
doc8:
stage: test
script:
- doc8
deploy-pypi: deploy-pypi:
stage: deploy stage: deploy
when: manual when: manual

View File

@ -1,7 +1,7 @@
Contributing Contributing
============ ============
Contributions to the project are greatly appreciated. Contributions to the project are greatly appreciated.
Bugs and suggestions Bugs and suggestions
-------------------- --------------------
@ -27,9 +27,9 @@ recommended::
mkvirtualenv -a . pyurbantz mkvirtualenv -a . pyurbantz
pip install -e .[dev] pip install -e .[dev]
This will clone the repository, create a virtual environment named ``pyurbantz``, This will clone the repository, create a virtual environment named
then tell pip to let the package be editable (``-e``). The ``[dev]`` suffix adds ``pyurbantz``, then tell pip to let the package be editable (``-e``).
the extra requirements useful for development. The ``[dev]`` suffix adds the extra requirements useful for development.
Linting Linting
^^^^^^^ ^^^^^^^
@ -45,6 +45,7 @@ The documentation you are reading is generated by the `Sphinx`_ tool.
The text files that hold the documentation's contents are written in The text files that hold the documentation's contents are written in
`reStructuredText`_ and are available under the ``/docs`` folder of the `reStructuredText`_ and are available under the ``/docs`` folder of the
`GitLab repository`_. `GitLab repository`_.
They are also subject to linting using the ``doc8`` tool.
.. _submit an issue: https://gitlab.com/Lucidiot/pyurbantz/issues/new .. _submit an issue: https://gitlab.com/Lucidiot/pyurbantz/issues/new
.. _virtualenvwrapper: https://virtualenvwrapper.readthedocs.io .. _virtualenvwrapper: https://virtualenvwrapper.readthedocs.io

View File

@ -1,4 +1,5 @@
flake8>=3.5 flake8>=3.5
doc8>=0.8
Sphinx>=1.8.1 Sphinx>=1.8.1
coverage>=4.5 coverage>=4.5
codecov>=2.0 codecov>=2.0

View File

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