Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+63 added−0 removed
other:+63 added−0 removed
Provenance
Commit
c259f2b
Tree
8492827
Author
Markus Unterwaditzer <markus@unterwaditzer.net>
Committer
Markus Unterwaditzer <markus@unterwaditzer.net>
Parent
1577e13
1 file changed+63 added−0 removed
added:CONTRIBUTING.rst+63 added
1+==========================2+How to contribute to Flask3+==========================4+5+Thanks for considering contributing to Flask. 6+7+Support questions8+=================9+10+Please, don't use the issue tracker for this. Check whether the ``#pocoo`` IRC11+channel on Freenode can help with your issue. If your problem is not strictly12+Werkzeug or Flask specific, ``#python`` is generally more active.13+`StackOverflow <https://stackoverflow.com/>`_ is also worth considering.14+15+Reporting issues16+================17+18+- Under which versions of Python does this happen? This is even more important19+ if your issue is encoding related.20+21+- Under which versions of Werkzeug does this happen? Check if this issue is22+ fixed in the repository.23+24+Submitting patches25+==================26+27+- 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.30+31+- Try to follow `PEP8 <http://legacy.python.org/dev/peps/pep-0008/>`_, but you32+ may ignore the line-length-limit if following it would make the code uglier.33+34+35+Running the testsuite36+---------------------37+38+You probably want to set up a `virtualenv39+<http://virtualenv.readthedocs.org/en/latest/index.html>`_.40+41+The minimal requirement for running the testsuite is ``py.test``. You can42+install it with::43+44+ pip install pytest45+46+Then you can run the testsuite with::47+48+ py.test49+50+With only py.test installed, a large part of the testsuite will get skipped51+though. Whether this is relevant depends on which part of Werkzeug you're52+working on. Travis is set up to run the full testsuite when you submit your53+pull request anyways.54+55+If you really want to test everything, you will have to install ``tox`` instead56+of ``pytest``. Currently we're depending on a development version of Tox57+because the released version is missing features we absolutely need. You can58+install it with::59+60+ pip install hg+https://bitbucket.org/hpk42/tox61+62+The ``tox`` command will then run all tests against multiple combinations63+Python versions and dependency versions.