Skip to content
CONTRIBUTING.rst 832 B
Newer Older
decentral1se's avatar
decentral1se committed
Get started
-----------
decentral1se's avatar
decentral1se committed
Install `Tox`_ with:
decentral1se's avatar
decentral1se committed
.. _tox: http://tox.readthedocs.io/
decentral1se's avatar
decentral1se committed
.. code-block:: bash
decentral1se's avatar
decentral1se committed
    $ pip install --user tox

Run tests
---------

.. code-block:: bash

decentral1se's avatar
decentral1se committed
    tox -e test

Lint source
-----------

.. code-block:: bash

    tox -e lint

Format source
-------------

.. code-block:: bash

    tox -e format

Type check source
-----------------

.. code-block:: bash

    tox -e type

Release Process
---------------

decentral1se's avatar
decentral1se committed
Add a change entry and re-generate the changelog:

.. code-block:: bash

    $ towncrier

Make a new release tag:

.. code-block:: bash

    $ git tag x.x.x
    $ git push --tags

If you have a development install locally, you can verify:

.. code-block:: bash

decentral1se's avatar
decentral1se committed
    $ flat_tree --version

Then run the release process:

.. code-block:: bash

    $ tox -e metadata-release
decentral1se's avatar
decentral1se committed
    $ tox -e release