Skip to content
Myr

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 file

Take 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 back
1==========================
2How to contribute to Click3==========================45Thanks for considering contributing to Click.67Support questions8=================9

new docs linksDavid Lordbefore adoption7818f30

lines 10–11why, one step back
10Please, don't use the issue tracker for this. Check whether the
11``#pocoo`` IRC channel on Freenode can help with your issue. If your problem

Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a

line 12why, one step back
12is not strictly Click-specific, ``#python`` on Freenode is generally more

Update CONTRIBUTING.rstDavid Lordbefore adoptiond053249

lines 13–16why, one step back
13active. Also try searching or asking on `Stack Overflow`_ with the
14``python-click`` tag. 1516.. _Stack Overflow: https://stackoverflow.com/questions/tagged/python-click?sort=votes

Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a

lines 17–37why, one step back
17
18Reporting 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 an

new docs linksDavid Lordbefore adoption7818f30

line 38why, one step back
38 `external package <https://click.palletsprojects.com/en/7.x/contrib/>`_

Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a

line 39why, one step back
39

new docs linksDavid Lordbefore adoption7818f30

line 40why, one step back
40- 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 back
41

Merge pull request #1263 from jcrotts/7.xJay Crottsbefore adoptionbaf0124

lines 42–44why, one step back
42- Non docs or text related changes need an entry in ``CHANGES.rst``,
43 and ``.. versionadded`` or ``.. versionchanged`` markers in the docs.44

Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a

lines 45–48why, one step back
45Running the testsuite
46---------------------4748You probably want to set up a `virtualenv

Merge pull request #911 from jdufresne/readthedocsDavid Lordbefore adoption10a88a2

line 49why, one step back
49<https://virtualenv.readthedocs.io/en/latest/index.html>`_.

Merge pull request #681 from pgkelley4/masterMarkus Unterwaditzerbefore adoption430c50a

lines 50–66why, one step back
50
51The 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.