CONTRIBUTING.rst
This file
Path
CONTRIBUTING.rst
66 lines · 2.1 KiB
Last changed by
Merge pull request #1263 from jcrotts/7.xJay Crottsbefore adoptionbaf0124
History of this fileTake it
The walk stopped after 200 commits: lines older than 430c50a point at it.
Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a
lines 1–9why, one step back1==========================2How to contribute to Click3==========================45Thanks for considering contributing to Click.67Support questions8=================9new docs linksDavid Lordbefore adoption7818f30
lines 10–11why, one step back10Please, don't use the issue tracker for this. Check whether the11``#pocoo`` IRC channel on Freenode can help with your issue. If your problemMerge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a
line 12why, one step back12is not strictly Click-specific, ``#python`` on Freenode is generally moreUpdate CONTRIBUTING.rstDavid Lordbefore adoptiond053249
lines 13–16why, one step back13active. Also try searching or asking on `Stack Overflow`_ with the14``python-click`` tag. 1516.. _Stack Overflow: https://stackoverflow.com/questions/tagged/python-click?sort=votesMerge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a
lines 17–37why, one step back1718Reporting issues19================2021- Under which versions of Python does this happen? This is even more important22 if your issue is encoding related.2324- Under which versions of Click does this happen? Check if this issue is fixed25 in the repository.2627Submitting patches28==================2930- Include tests if your patch is supposed to solve a bug, and explain clearly31 under which circumstances the bug happens. Make sure the test fails without32 your patch.3334- Try to follow `PEP8 <http://legacy.python.org/dev/peps/pep-0008/>`_, but you35 may ignore the line-length-limit if following it would make the code uglier.3637- For features: Consider whether your feature would be a better fit for annew docs linksDavid Lordbefore adoption7818f30
line 38why, one step back38 `external package <https://click.palletsprojects.com/en/7.x/contrib/>`_Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a
line 39why, one step back39new docs linksDavid Lordbefore adoption7818f30
line 40why, one step back40- For docs and bug fixes: Submit against the latest maintenance branch instead of master!Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a
line 41why, one step back41Merge pull request #1263 from jcrotts/7.xJay Crottsbefore adoptionbaf0124
lines 42–44why, one step back42- Non docs or text related changes need an entry in ``CHANGES.rst``,43 and ``.. versionadded`` or ``.. versionchanged`` markers in the docs.44Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a
lines 45–48why, one step back45Running the testsuite46---------------------4748You probably want to set up a `virtualenvMerge pull request #911 from jdufresne/readthedocsDavid Lordbefore adoption10a88a2
line 49why, one step back49<https://virtualenv.readthedocs.io/en/latest/index.html>`_.Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a
lines 50–66why, one step back5051The minimal requirement for running the testsuite is ``py.test``. You can52install it with::5354 pip install pytest5556Then you can run the testsuite with::5758 py.test5960For a more isolated test environment, you can also install ``tox`` instead of61``pytest``. You can install it with::6263 pip install tox6465The ``tox`` command will then run all tests against multiple combinations of66Python versions and dependency versions.