Skip to content
Myr

Add contributing file

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

authored by Markus Unterwaditzer · committed by Markus Unterwaditzer · parent 1577e13 · Browse files · 1 file+63 added−0 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+63 added−0 removed

  • other:+63 added−0 removed

1 file+63 added−0 removed

added:CONTRIBUTING.rst+63 added
1==========================2How to contribute to Flask3==========================45Thanks for considering contributing to Flask. 67Support questions8=================910Please, don't use the issue tracker for this. Check whether the ``#pocoo`` IRC11channel on Freenode can help with your issue. If your problem is not strictly12Werkzeug or Flask specific, ``#python`` is generally more active.13`StackOverflow <https://stackoverflow.com/>`_ is also worth considering.1415Reporting issues16================1718- Under which versions of Python does this happen? This is even more important19 if your issue is encoding related.2021- Under which versions of Werkzeug does this happen? Check if this issue is22 fixed in the repository.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.3031- 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.333435Running the testsuite36---------------------3738You probably want to set up a `virtualenv39<http://virtualenv.readthedocs.org/en/latest/index.html>`_.4041The minimal requirement for running the testsuite is ``py.test``. You can42install it with::4344 pip install pytest4546Then you can run the testsuite with::4748 py.test4950With only py.test installed, a large part of the testsuite will get skipped51though. Whether this is relevant depends on which part of Werkzeug you're52working on. Travis is set up to run the full testsuite when you submit your53pull request anyways.5455If you really want to test everything, you will have to install ``tox`` instead56of ``pytest``. Currently we're depending on a development version of Tox57because the released version is missing features we absolutely need. You can58install it with::5960 pip install hg+https://bitbucket.org/hpk42/tox6162The ``tox`` command will then run all tests against multiple combinations63Python versions and dependency versions.