Skip to content
Myr

Add contributing-file

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Inspired by #311, but mostly taken from Werkzeug.

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parent 3d3bb75 · Browse files · 1 file+56 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+56 added−0 removed

  • other:+56 added−0 removed

1 file+56 added−0 removed

added:CONTRIBUTING.rst+56 added
1==========================2How to contribute to Click3==========================45Thanks for considering contributing to Click.67Support questions8=================910Please, don't use the issue tracker for this. Check whether the `Pocoo IRC11channel <http://www.pocoo.org/irc/>`_ can help with your issue. If your problem12is not strictly Click-specific, ``#python`` on Freenode is generally more13active. `StackOverflow <https://stackoverflow.com/>`_ is also worth14considering.1516Reporting issues17================1819- Under which versions of Python does this happen? This is even more important20 if your issue is encoding related.2122- Under which versions of Click does this happen? Check if this issue is fixed23 in the repository.2425Submitting patches26==================2728- Include tests if your patch is supposed to solve a bug, and explain clearly29 under which circumstances the bug happens. Make sure the test fails without30 your patch.3132- Try to follow `PEP8 <http://legacy.python.org/dev/peps/pep-0008/>`_, but you33 may ignore the line-length-limit if following it would make the code uglier.3435Running the testsuite36---------------------3738You probably want to set up a `virtualenv39<http://virtualenv.readthedocs.org/en/latest/index.html>`_.4041The minimal requirement for running the testsuite is ``py.test``. You can42install it with::4344 pip install pytest4546Then you can run the testsuite with::4748 py.test4950For a more isolated test environment, you can also install ``tox`` instead of51``pytest``. You can install it with::5253 pip install tox5455The ``tox`` command will then run all tests against multiple combinations of56Python versions and dependency versions.