Skip to content
Myr

Merge pull request #3904 from pallets/update-project

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

update project files

authored by David Lord · committed by GitHub · parents ee08948, b496d8b · Browse files · 13 files+150 added−103 removed
This commit

State

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

Diff stats

13 files+150 added−103 removed

  • other:+150 added−103 removed

13 files+150 added−103 removed

added:.github/ISSUE_TEMPLATE/bug-report.md+27 added
added:.github/ISSUE_TEMPLATE/config.yml+11 added
added:.github/ISSUE_TEMPLATE/feature-request.md+15 added
modified:.github/workflows/tests.yaml-9 removed
deleted:.github/ISSUE_TEMPLATE.md-29 removed
added:.github/pull_request_template.md+30 added
deleted:.github/PULL_REQUEST_TEMPLATE.md-16 removed
added:.github/SECURITY.md+19 added
modified:requirements/dev.txt+16 added-16 removed
6 unmodified lines
7alabaster==0.7.128 # via sphinx9appdirs==1.4.410 # via virtualenv11attrs==20.2.011attrs==20.3.012 # via pytest13babel==2.8.013babel==2.9.014 # via sphinx15blinker==1.416 # via -r requirements/tests.in17certifi==2020.6.2017certifi==2020.12.518 # via requests19cfgv==3.2.020 # via pre-commit21chardet==3.0.421chardet==4.0.022 # via requests23click==7.1.224 # via pip-tools25distlib==0.3.1
5 unmodified lines
31 # tox32 # virtualenv33greenlet==1.0.034 # via -r requirements/tests.in35identify==1.5.635identify==1.5.1336 # via pre-commit37idna==2.1038 # via requests39imagesize==1.2.0
20 unmodified lines
60pluggy==0.13.161 # via62 # pytest63 # tox64pre-commit==2.10.064pre-commit==2.10.165 # via -r requirements/dev.in66py==1.9.066py==1.10.067 # via68 # pytest69 # tox70pygments==2.7.270pygments==2.7.471 # via72 # sphinx73 # sphinx-tabs74pyparsing==2.4.7
1 unmodified line
76pytest==6.2.277 # via -r requirements/tests.in78python-dotenv==0.15.079 # via -r requirements/tests.in80pytz==2020.180pytz==2021.181 # via babel82pyyaml==5.3.182pyyaml==5.4.183 # via pre-commit84requests==2.24.084requests==2.25.185 # via sphinx86six==1.15.087 # via88 # tox89 # virtualenv90snowballstemmer==2.0.090snowballstemmer==2.1.091 # via sphinx92sphinx-issues==1.2.093 # via -r requirements/docs.in94sphinx-tabs==2.0.094sphinx-tabs==2.0.195 # via -r requirements/docs.in96sphinx==3.4.397 # via98 # -r requirements/docs.in
19 unmodified lines
118 # via119 # pre-commit120 # pytest121 # tox122tox==3.21.3122tox==3.21.4123 # via -r requirements/dev.in124urllib3==1.25.11124urllib3==1.26.3125 # via requests126virtualenv==20.1.0126virtualenv==20.4.2127 # via128 # pre-commit129 # tox130
3 unmodified lines
modified:requirements/docs.txt+9 added-9 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.6.2011certifi==2020.12.512 # via requests13chardet==3.0.413chardet==4.0.014 # via requests15docutils==0.1616 # via sphinx17idna==2.10
10 unmodified lines
28 # pallets-sphinx-themes29 # sphinx30pallets-sphinx-themes==1.2.331 # via -r requirements/docs.in32pygments==2.7.232pygments==2.7.433 # via34 # sphinx35 # sphinx-tabs36pyparsing==2.4.737 # via packaging38pytz==2020.138pytz==2021.139 # via babel40requests==2.24.040requests==2.25.141 # via sphinx42snowballstemmer==2.0.042snowballstemmer==2.1.043 # via sphinx44sphinx-issues==1.2.045 # via -r requirements/docs.in46sphinx-tabs==2.0.046sphinx-tabs==2.0.147 # via -r requirements/docs.in48sphinx==3.4.349 # via50 # -r requirements/docs.in
14 unmodified lines
65sphinxcontrib-qthelp==1.0.366 # via sphinx67sphinxcontrib-serializinghtml==1.1.468 # via sphinx69urllib3==1.25.1169urllib3==1.26.370 # via requests7172# The following packages are considered to be unsafe in a requirements file:73# setuptools
modified:requirements/tests.txt+2 added-2 removed
2 unmodified lines
3# To update, run:4#5# pip-compile requirements/tests.in6#7attrs==20.2.07attrs==20.3.08 # via pytest9blinker==1.410 # via -r requirements/tests.in11greenlet==1.0.0
3 unmodified lines
15packaging==20.916 # via pytest17pluggy==0.13.118 # via pytest19py==1.9.019py==1.10.020 # via pytest21pyparsing==2.4.722 # via packaging23pytest==6.2.2
5 unmodified lines
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
modified:tox.ini+3 added-5 removed
13 unmodified lines
14 https://github.com/pallets/jinja/archive/master.tar.gz15 https://github.com/pallets/itsdangerous/archive/master.tar.gz16 https://github.com/pallets/click/archive/master.tar.gz1718commands =19 pip install -q -e examples/tutorial[test]20 pip install -q -e examples/javascript[test]18 examples/tutorial[test]19 examples/javascript[test]20commands = pytest -v --tb=short --basetemp={envtmpdir} {posargs:tests examples}2122 pytest --tb=short --basetemp={envtmpdir} {posargs:tests examples}2322[testenv:style]23deps = pre-commit24skip_install = true25commands = pre-commit run --all-files --show-diff-on-failure
4 unmodified lines