Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 808 Bytes

contributing.rst

File metadata and controls

43 lines (28 loc) · 808 Bytes

Contributing

Running Tests

:command:`tox` is used to run tests. It will run :command:`mypy` for type checking, :command:`pylint` for linting, :command:`pytest` for testing, and :command:`black` for code formatting.

$ tox          # All python versions
$ tox -e py36  # Python 3.6
$ tox -e py37  # Python 3.7

Code Formatting

This project uses black for code formatting.

$ black .  # format all python code

Building Documentation

Documentation is built using :command:`sphinx`.

$ cd docs/
$ make man  # Build manpage

Publishing

$ python3 setup.py sdist bdist_wheel
$ twine check dist/*
$ twine upload dist/*