CONTRIBUTING.rst
This file
Path
CONTRIBUTING.rst
61 lines · 1.8 KiB
Last changed by
Add info about maintenance branchesMarkus Unterwaditzerbefore adoption7a48f3e
History of this fileTake it
Add contributing-fileMarkus Unterwaditzerbefore adoption3b766a8
lines 1–34why, one step back1==========================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.34Add click-contrib link to CONTRIBUTINGMarkus Unterwaditzerbefore adoption57c6f09
line 35why, one step back35- For features: Consider whether your feature would be a better fit for anMerge pull request #593 from ellisonleao/patch-1Markus Unterwaditzerbefore adoption4f44f65
line 36why, one step back36 `external package <http://click.pocoo.org/contrib/>`_Add click-contrib link to CONTRIBUTINGMarkus Unterwaditzerbefore adoption57c6f09
line 37why, one step back37Add info about maintenance branchesMarkus Unterwaditzerbefore adoption7a48f3e
lines 38–39why, one step back38- For bugfixes: Submit against the latest maintenance branch instead of master!39Add contributing-fileMarkus Unterwaditzerbefore adoption3b766a8
lines 40–61why, one step back40Running the testsuite41---------------------4243You probably want to set up a `virtualenv44<http://virtualenv.readthedocs.org/en/latest/index.html>`_.4546The minimal requirement for running the testsuite is ``py.test``. You can47install it with::4849 pip install pytest5051Then you can run the testsuite with::5253 py.test5455For a more isolated test environment, you can also install ``tox`` instead of56``pytest``. You can install it with::5758 pip install tox5960The ``tox`` command will then run all tests against multiple combinations of61Python versions and dependency versions.