Skip to content
Myr

update contributing guide

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

authored by David Lord · committed by David Lord · parent 3c00658 · Browse files · 1 file+18 added−17 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+18 added−17 removed

  • other:+18 added−17 removed

1 file+18 added−17 removed

modified:CONTRIBUTING.rst+18 added-17 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 Flask itself. Use one of12the following resources for questions about using Flask 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 Flask itself. Use one of the12following resources for questions about using Flask or issues with your13own code:1415- The ``#get-help`` channel on our Discord chat:16 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 flask {search term, exception message, etc.}``20 ``site:stackoverflow.com flask {search term, exception message, etc.}``2122.. _Stack Overflow: https://stackoverflow.com/questions/tagged/flask?sort=linked22.. _Stack Overflow: https://stackoverflow.com/questions/tagged/flask?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, Flask, and Werkzeug versions. If possible, check37 if this issue is already fixed in the latest releases or the latest38 code in the repository.36- List your Python and Flask 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
54 unmodified lines
97- Create a virtualenv.9899 .. tabs::100101 .. group-tab:: macOS/Linux101 .. group-tab:: Linux/macOS102103 .. code-block:: text104105 $ python3 -m venv env
5 unmodified lines
111112 > py -3 -m venv env113 > env\Scripts\activate114115- Install Flask in editable mode with development dependencies.115- Install the development dependencies, then install Flask in editable116 mode.117118 .. code-block:: text119119 $ pip install -e . -r requirements/dev.txt120 $ pip install -r requirements/dev.txt && pip install -e .121122- Install the pre-commit hooks.123124 .. code-block:: text125126 $ pre-commit install127128.. _latest version of git: https://git-scm.com/downloads128.. _username: https://help.github.com/en/articles/setting-your-username-in-git129.. _email: https://help.github.com/en/articles/setting-your-commit-email-address-in-git129.. _username: https://docs.github.com/en/github/using-git/setting-your-username-in-git130.. _email: https://docs.github.com/en/github/setting-up-and-managing-your-github-user-account/setting-your-commit-email-address131.. _GitHub account: https://github.com/join131.. _Fork: https://github.com/pallets/flask/fork132.. _Clone: https://help.github.com/en/articles/fork-a-repo#step-2-create-a-local-clone-of-your-fork132.. _Fork: https://github.com/pallets/jinja/fork133.. _Clone: https://docs.github.com/en/github/getting-started-with-github/fork-a-repo#step-2-create-a-local-clone-of-your-fork134135136Start coding137~~~~~~~~~~~~
27 unmodified lines
165166 $ git push --set-upstream fork your-branch-name167168.. _committing as you go: https://dont-be-afraid-to-commit.readthedocs.io/en/latest/git/commandlinegit.html#commit-your-changes168.. _create a pull request: https://help.github.com/en/articles/creating-a-pull-request169.. _create a pull request: https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request170171172Running the tests173~~~~~~~~~~~~~~~~~
48 unmodified lines