Skip to content
Myr

Merge pull request #1774 from pallets/update-project

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

update issue templates, contributing guide, requirements

authored by David Lord · committed by GitHub · parents fbe33ba, cc54113 · Browse files · 8 files+86 added−106 removed
This commit

State

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

Diff stats

8 files+86 added−106 removed

  • other:+86 added−106 removed

8 files+86 added−106 removed

modified:.github/ISSUE_TEMPLATE/bug-report.md+14 added-26 removed
modified:.github/workflows/tests.yaml-6 removed
modified:.github/pull_request_template.md+11 added-6 removed
modified:requirements/dev.txt+25 added-26 removed
6 unmodified lines
7alabaster==0.7.128 # via sphinx9appdirs==1.4.410 # via virtualenv11attrs==19.3.011attrs==20.3.012 # via pytest13babel==2.8.013babel==2.9.014 # via sphinx15certifi==2020.4.5.115certifi==2020.12.516 # via requests17cfgv==3.1.017cfgv==3.2.018 # via pre-commit19chardet==3.0.419chardet==4.0.020 # via requests21click==7.1.222 # via pip-tools23colorama==0.4.424 # via -r requirements/tests.in25distlib==0.3.025distlib==0.3.126 # via virtualenv27docutils==0.1628 # via sphinx29filelock==3.0.1230 # via31 # tox32 # virtualenv33identify==1.4.1633identify==1.5.1334 # via pre-commit35idna==2.935idna==2.1036 # via requests37imagesize==1.2.038 # via sphinx39importlib-metadata==3.4.040 # via -r requirements/tests.in41iniconfig==1.0.041iniconfig==1.1.142 # via pytest43jinja2==2.11.243jinja2==2.11.344 # via sphinx45markupsafe==1.1.146 # via jinja247nodeenv==1.3.547nodeenv==1.5.048 # via pre-commit49packaging==20.449packaging==20.950 # via51 # pallets-sphinx-themes52 # pytest53 # sphinx
5 unmodified lines
59pluggy==0.13.160 # via61 # pytest62 # tox63pre-commit==2.10.063pre-commit==2.10.164 # via -r requirements/dev.in65py==1.9.065py==1.10.066 # via67 # pytest68 # tox69pygments==2.6.169pygments==2.7.470 # via71 # sphinx72 # sphinx-tabs73pyparsing==2.4.774 # via packaging75pytest==6.2.276 # via -r requirements/tests.in77pytz==2020.177pytz==2021.178 # via babel79pyyaml==5.3.179pyyaml==5.4.180 # via pre-commit81requests==2.23.081requests==2.25.182 # via sphinx83six==1.15.084 # via85 # packaging85 # tox86 # virtualenv88snowballstemmer==2.0.087snowballstemmer==2.1.088 # via sphinx89sphinx-issues==1.2.090 # via -r requirements/docs.in92sphinx-tabs==2.0.091sphinx-tabs==2.0.192 # via -r requirements/docs.in93sphinx==3.4.394 # via95 # -r requirements/docs.in
14 unmodified lines
110sphinxcontrib-qthelp==1.0.3111 # via sphinx112sphinxcontrib-serializinghtml==1.1.4113 # via sphinx115toml==0.10.1114toml==0.10.2115 # via116 # pre-commit117 # pytest118 # tox120tox==3.21.3119tox==3.21.4120 # via -r requirements/dev.in122urllib3==1.25.9121urllib3==1.26.3122 # via requests124virtualenv==20.0.21123virtualenv==20.4.2124 # via125 # pre-commit126 # tox128zipp==3.1.0127zipp==3.4.0128 # via importlib-metadata129130# The following packages are considered to be unsafe in a requirements file:131# pip
1 unmodified line
modified:requirements/docs.txt+12 added-14 removed
4 unmodified lines
5# pip-compile requirements/docs.in6#7alabaster==0.7.128 # via sphinx9babel==2.8.09babel==2.9.010 # via sphinx11certifi==2020.4.5.111certifi==2020.12.512 # via requests13chardet==3.0.413chardet==4.0.014 # via requests15docutils==0.1616 # via sphinx17idna==2.917idna==2.1018 # via requests19imagesize==1.2.020 # via sphinx21jinja2==2.11.221jinja2==2.11.322 # via sphinx23markupsafe==1.1.124 # via jinja225packaging==20.425packaging==20.926 # via27 # pallets-sphinx-themes28 # sphinx29pallets-sphinx-themes==1.2.330 # via -r requirements/docs.in31pygments==2.6.131pygments==2.7.432 # via33 # sphinx34 # sphinx-tabs35pyparsing==2.4.736 # via packaging37pytz==2020.137pytz==2021.138 # via babel39requests==2.23.039requests==2.25.140 # via sphinx41six==1.15.042 # via packaging43snowballstemmer==2.0.041snowballstemmer==2.1.042 # via sphinx43sphinx-issues==1.2.044 # via -r requirements/docs.in47sphinx-tabs==2.0.045sphinx-tabs==2.0.146 # via -r requirements/docs.in47sphinx==3.4.348 # via49 # -r requirements/docs.in
14 unmodified lines
64sphinxcontrib-qthelp==1.0.365 # via sphinx66sphinxcontrib-serializinghtml==1.1.467 # via sphinx70urllib3==1.25.968urllib3==1.26.369 # via requests7071# The following packages are considered to be unsafe in a requirements file:72# setuptools
modified:requirements/tests.txt+6 added-8 removed
2 unmodified lines
3# To update, run:4#5# pip-compile requirements/tests.in6#7attrs==19.3.07attrs==20.3.08 # via pytest9colorama==0.4.410 # via -r requirements/tests.in11importlib-metadata==3.4.012 # via -r requirements/tests.in13iniconfig==1.0.013iniconfig==1.1.114 # via pytest15packaging==20.415packaging==20.916 # via pytest17pluggy==0.13.118 # via pytest19py==1.9.019py==1.10.020 # via pytest21pyparsing==2.4.722 # via packaging23pytest==6.2.224 # via -r requirements/tests.in25six==1.15.026 # via packaging27toml==0.10.125toml==0.10.226 # via pytest29zipp==3.1.027zipp==3.4.028 # via importlib-metadata
modified:CONTRIBUTING.rst+17 added-19 removed
5 unmodified lines
67Support questions8-----------------910Please, don't use the issue tracker for this. The issue tracker is a11tool to address bugs and feature requests in Click itself. Use one of12the following resources for questions about using Click or issues with13your own code:10Please don't use the issue tracker for this. The issue tracker is a tool11to address bugs and feature requests in Click itself. Use one of the12following resources for questions about using Click or issues with your13own code:1415- The ``#get-help`` channel on our Discord chat:16 https://discord.gg/t6rrQZH16 https://discord.gg/pallets17- The mailing list flask@python.org for long term discussion or larger18 issues.19- Ask on `Stack Overflow`_. Search with Google first using:20 ``site:stackoverflow.com python click {search term, exception message, etc.}``2122.. _Stack Overflow: https://stackoverflow.com/questions/tagged/python-click?sort=linked22.. _Stack Overflow: https://stackoverflow.com/questions/tagged/python-click?tab=Frequent232425Reporting issues26----------------
5 unmodified lines
32 identify the issue. This also helps check that the issue is not with33 your own code.34- Describe what actually happened. Include the full traceback if there35 was an exception.36- List your Python and Click. If possible, check if this issue is37 already fixed in the latest releases or the latest code in the38 repository.36- List your Python and Click versions. If possible, check if this37 issue is already fixed in the latest releases or the latest code in38 the repository.3940.. _minimal reproducible example: https://stackoverflow.com/help/minimal-reproducible-example4142
63 unmodified lines
106 .. code-block:: text107108 > env\Scripts\activate109110- Install the development dependencies, then install Click in editable111 mode. This order is important, otherwise you'll get the wrong112 version of Click.110- Install the development dependencies, then install Click in111 editable mode.112113 .. code-block:: text114116 $ pip install -r requirements/dev.txt117 $ pip install -e .115 $ pip install -r requirements/dev.txt && pip install -e .116117- Install the pre-commit hooks.118119 .. code-block:: text120121 $ pre-commit install122123.. _latest version of git: https://git-scm.com/downloads126.. _username: https://help.github.com/en/articles/setting-your-username-in-git127.. _email: https://help.github.com/en/articles/setting-your-commit-email-address-in-git124.. _username: https://docs.github.com/en/github/using-git/setting-your-username-in-git125.. _email: https://docs.github.com/en/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address126.. _GitHub account: https://github.com/join129.. _Fork: https://github.com/pallets/click/fork130.. _Clone: https://help.github.com/en/articles/fork-a-repo#step-2-create-a-local-clone-of-your-fork127.. _Fork: https://github.com/pallets/jinja/fork128.. _Clone: https://docs.github.com/en/github/getting-started-with-github/fork-a-repo#step-2-create-a-local-clone-of-your-fork129130131Start coding132~~~~~~~~~~~~
27 unmodified lines
160161 $ git push --set-upstream fork your-branch-name162163.. _committing as you go: https://dont-be-afraid-to-commit.readthedocs.io/en/latest/git/commandlinegit.html#commit-your-changes166.. _create a pull request: https://help.github.com/en/articles/creating-a-pull-request164.. _create a pull request: https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request165166167Running the tests168~~~~~~~~~~~~~~~~~
48 unmodified lines
modified:tox.ini+1 added-1 removed
5 unmodified lines
6skip_missing_interpreters = true78[testenv]9deps = -r requirements/tests.txt10commands = pytest --tb=short --basetemp={envtmpdir} {posargs}10commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs}1112[testenv:style]13deps = pre-commit14skip_install = true
5 unmodified lines