From 623f0af3dc06b3fb88cd29f40f2f52c9c2259ff2 Mon Sep 17 00:00:00 2001 From: Rachel Sanders Date: Tue, 28 Oct 2014 16:07:18 -0700 Subject: [PATCH] Minor updates - we're using pytest, not nosetests --- CONTRIBUTING.rst | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index ccc1676..429fc3f 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -27,7 +27,7 @@ Running the tests Make sure you have the development libraries installed, then run:: - nosetests + py.test tests Building documentation `````````````````````` @@ -52,18 +52,19 @@ The code follows `PEP8 * Line length: use your best judgment. (We all have big monitors now, no need to limit to 80 columns.) Your code should pass `flake8 -`_ unless readability is hurt, you have a good reason, or we really like you. Configuration is in ``setup.cfg``. +`_ unless readability is hurt. Configuration is in ``setup.cfg``. -Python 3 -```````` +Python versions +``````````````` -If possible, your code should be compatible with Python 3.3. +Your code should work with all versions of Python 2.6 and 2.7. If possible, your code should be compatible with Python 3.3+. +Travis will check that for you automatically. Tests ````` -Submitted code should have tests covering the code submitted. +Submitted code should have tests covering the code submitted, and your code should pass the Travis build. All fixture data should be unicode, following the guidelines in Ned Batchelder's fantastic `Pragmatic Unicode `_.