Skip to content
Myr

Merge pull request #2305 from sorech02/updating_contributing_rst

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

Updating contributing rst

authored by David Lord · committed by GitHub · parents c8e56d5, 532ca2e · Browse files · 1 file+34 added−5 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+34 added−5 removed

  • other:+34 added−5 removed

1 file+34 added−5 removed

modified:CONTRIBUTING.rst+34 added-5 removed
22 unmodified lines
2324Submitting patches25==================2627- Include tests if your patch is supposed to solve a bug, and explain28 clearly under which circumstances the bug happens. Make sure the test fails29 without your patch.27First time setup28----------------2931- Try to follow `PEP8 <https://www.python.org/dev/peps/pep-0008/>`_, but you32 may ignore the line-length-limit if following it would make the code uglier.30- Download and install the `latest version of git`_.31- Configure git with your `username`_ and `email`_.32- Make sure you have a `GitHub account`_.33- Fork Flask to your GitHub account by clicking the `Fork`_ button.34- `Clone`_ your GitHub fork locally.35- Add the main repository as a remote to update later.36 ``git remote add pallets https://github.com/pallets/flask``3738.. _GitHub account: https://github.com/join39.. _latest version of git: https://git-scm.com/downloads40.. _username: https://help.github.com/articles/setting-your-username-in-git/41.. _email: https://help.github.com/articles/setting-your-email-in-git/42.. _Fork: https://github.com/pallets/flask/pull/2305#fork-destination-box43.. _Clone: https://help.github.com/articles/fork-a-repo/#step-2-create-a-local-clone-of-your-fork4445Start coding46------------4748- Create a branch to identify the issue you would like to work on (e.g.49 ``2287-dry-test-suite``)50- Using your favorite editor, make your changes, `committing as you go`_.51- Try to follow `PEP8`_, but you may ignore the line length limit if following52 it would make the code uglier.53- Include tests that cover any code changes you make. Make sure the test fails54 without your patch. `Run the tests. <contributing-testsuite_>`_.55- Push your commits to GitHub and `create a pull request`_.56- Celebrate 🎉5758.. _committing as you go: http://dont-be-afraid-to-commit.readthedocs.io/en/latest/git/commandlinegit.html#commit-your-changes59.. _PEP8: https://pep8.org/60.. _create a pull request: https://help.github.com/articles/creating-a-pull-request/6162.. _contributing-testsuite:6364Running the testsuite65---------------------6667You probably want to set up a `virtualenv
76 unmodified lines