summaryrefslogtreecommitdiff
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
* Move tests into package.Julian Berman2013-05-171-3/+2
|
* Add style to tox run.Julian Berman2013-05-121-1/+1
|
* Cleanup tests a bit.Colin Dunklau2013-05-121-5/+3
| | | | | Removed doctest attempt for module. Renamed tests.py -> test_jsonschema.py
* Minor style changesColin Dunklau2013-05-111-1/+1
|
* Begone.Julian Berman2013-04-261-3/+3
|
* Flake8 because I'm sadistic.Julian Berman2013-04-261-0/+9
|
* Fix doctests.Julian Berman2013-04-201-8/+2
|
* Fix doc env.Julian Berman2013-04-181-1/+3
|
* Fix path and tox.Julian Berman2013-04-181-1/+2
|
* requires argparse for suite bin to work.Julian Berman2013-02-221-0/+1
|
* Fix tests on old PyPys.Julian Berman2013-02-181-0/+6
|
* Doctest is horrible.Julian Berman2013-02-171-0/+4
|
* Gymnastics.Julian Berman2013-02-171-2/+16
|
* Never mind, use isodate since it isn't broken.Julian Berman2013-02-161-3/+2
|
* Don't need tox on py33Julian Berman2013-02-031-0/+6
|
* Don't fall back if webcolors isn't presentJulian Berman2013-02-031-0/+1
|
* Doctest jsonschemaJulian Berman2013-02-031-0/+1
|
* Sphinx doctestJulian Berman2013-01-121-6/+5
|
* Build docs in toxJulian Berman2012-11-301-2/+8
|
* Stupid nose.Julian Berman2012-11-171-1/+1
|
* Add Python 3.3Julian Berman2012-10-221-1/+1
|
* Add mock.Julian Berman2012-09-281-0/+2
|
* An initial stab at making jsonschema Python 3.x compatible.Michael Droettboom2012-04-201-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This takes the approach of being Python 2.6, 2.7, 3.1 and 3.2 compatible from an identical code base, i.e. not by requiring an explicit 2to3 step. With this approach it is almost impossible to also support Python 2.5, though that can be investigated if that is a hard requirement. The testing framework was changed from Twisted.trial to nosetests, since Twisted does not yet have Python 3.x support. Alternatively, pytest could be used. Most changes are related to adding "from __future__ import unicode_literals" and removing all of the "u" prefixes on string literals. Since 3.x drops renames dict.iteritems to dict.items, a function "iteritems" was added to handle either case. Likewise, itertools.izip was dropped in favor of just using zip. Comparisions of strings and numbers no longer works, so the string is forcibly converted to a float before doing a numeric comparison. Updated "try .. except" to use the new "Exception as e" syntax. Python 3 changed the way metaclasses are handled. The metaclass in tests.py (there are none in the library proper) now uses a crazy inscrutable syntax that is Python 2.x and 3.x compatible. See http://mikewatkins.ca/2008/11/29/python-2-and-3-metaclasses/ There is one doctest failing on Python 3.x that fails due to the fact that in Python 3 the full path to the Exception object is shown in tracebacks, i.e. jsonschema.ValidationError vs. ValidationError. I'm not sure how to resolve this in a way that is both Python 2 and 3 compatible. We may just want to skip the doctests on Python 3.
* Removed the securetypes stuff.Julian Berman2012-04-191-3/+0
| | | | The hash fix has been released, so this can all go away.
* Adding uniqueItems with optional (recommended) dep on securetypes.Julian Berman2012-01-181-2/+9
|
* Missed a dep.Julian Berman2011-12-301-2/+6
|
* setup.py and toxJulian Berman2011-12-301-0/+16