Commit Graph

738 Commits

Author SHA1 Message Date
Julian Berman 11ffd34399 Fight with sphinx typos. 2013-11-02 20:23:33 -04:00
Julian Berman fd27a41193 Fight with sphinx. 2013-11-02 20:20:55 -04:00
Julian Berman c763ab974c Apply built-in formats only to strings, otherwise ignore. 2013-10-30 17:02:44 -04:00
Julian Berman 699528300b Move ErrorTree closer to its friends. 2013-10-30 08:13:21 -04:00
Julian Berman bab6e745c2 Merge branch 'best-match'
* best-match:
  And docs for the arguments.
  And add by_relevance docs.
  Remove __eq__, since it causes hashability issues on Py3 that I don't want to deal with at the moment.
  Update best_match docs.
  Different strategy that's a lot more robust.
  Use ._contents in create_from
  Initial stab at best_match.
  Sort errors based on their paths.
2013-10-28 08:12:03 -04:00
Julian Berman a73d1efe56 Format can apply to instances of any type.
Closes #125
2013-10-28 08:06:12 -04:00
Julian Berman 4f171aa183 And docs for the arguments. 2013-10-27 21:28:09 -04:00
Julian Berman 4f9447b05b And add by_relevance docs. 2013-10-27 21:26:00 -04:00
Julian Berman 6b8e1f4bcc Remove __eq__, since it causes hashability issues on Py3 that I don't want to deal with at the moment. 2013-10-27 21:11:28 -04:00
Julian Berman b805101de6 Update best_match docs. 2013-10-27 21:05:52 -04:00
Julian Berman b4f098bdcc Different strategy that's a lot more robust. 2013-10-27 20:38:49 -04:00
Julian Berman 11b3220eac Use ._contents in create_from 2013-10-27 18:35:29 -04:00
Julian Berman 8199901c3b Initial stab at best_match. 2013-10-27 18:35:29 -04:00
Julian Berman 3c6568b217 Sort errors based on their paths. 2013-10-27 18:35:28 -04:00
Julian Berman 5f8aae8efc Squashed 'json/' changes from b6f129e..468fa78
468fa78 Add a test for valid URI reference, but invalid URI (which is not valid overall).

git-subtree-dir: json
git-subtree-split: 468fa788ca2053a69815c43abc500e044086120c
2013-10-27 15:28:46 -04:00
Julian Berman 11dd8a53a8 Merge commit '5f8aae8efc5a92c4b5f8c631f51c8b04a7141ea3'
* commit '5f8aae8efc5a92c4b5f8c631f51c8b04a7141ea3':
  Squashed 'json/' changes from b6f129e..468fa78
2013-10-27 15:28:46 -04:00
Julian Berman 555386f045 These should be URIs, not URI references.
Closes #131
2013-10-27 15:26:35 -04:00
Julian Berman 4dafd98de8 Pretty! 2013-10-22 19:36:45 -04:00
Julian Berman 9c1a2f589c Try to be as unconfusing as possible since is_type can be called outside validation. 2013-10-20 18:48:59 -04:00
Julian Berman 8a3be956ea Flake8. 2013-10-20 18:38:19 -04:00
Julian Berman 1397f0b0c9 Merge remote-tracking branch 'sontek/give_better_error_output'
* sontek/give_better_error_output:
  Better Py2/3 support
  Use pretty formatting
  Cleaned up output
  Clean up the output when an unknow type is found
2013-10-20 18:34:43 -04:00
Julian Berman 3906ee0e65 Bump version. 2013-10-18 13:48:42 -04:00
Julian Berman 6fee28cc42 Release v2.2.0 2013-10-18 13:46:36 -04:00
John Anderson 4e6bf8051e Better Py2/3 support 2013-10-18 09:52:02 -07:00
John Anderson a324c1fc19 Use pretty formatting 2013-10-17 20:27:27 -07:00
John Anderson 9440940677 Cleaned up output 2013-10-17 20:23:03 -07:00
John Anderson 1963981389 Clean up the output when an unknow type is found 2013-10-17 20:19:57 -07:00
Julian Berman b6ede007ae Merge pull request #129 from sontek/handle_non_string_types
Allow non-string custom types (arbitrary objects).
2013-10-17 19:18:56 -07:00
John Anderson 3baddb61a3 This allows defining custom types 2013-10-17 19:13:58 -07:00
Julian Berman 333c5d8eff Merge pull request #127 from taavi/master
Precompiles is_host_name regex.
2013-10-15 17:00:18 -07:00
Taavi Burns a4d931f86b Precompiles is_host_name regex. 2013-10-15 19:33:55 -04:00
Julian Berman 7998eef27b Sigh, reST, not markdown. 2013-10-03 22:58:15 -04:00
Julian Berman 0aa76c20e7 Line length 2013-10-03 22:56:49 -04:00
Julian Berman b1d7804c7b Panhandling. 2013-10-03 22:55:32 -04:00
Julian Berman cd9db3c1af Pass along arguments. 2013-09-25 09:19:39 -04:00
Julian Berman f718d36883 Re-add the coverage env. 2013-09-25 09:19:33 -04:00
Julian Berman 6b3a0443d7 Less confusing skip message 2013-09-22 17:16:46 -04:00
Julian Berman e5e61a86da Bump version 2013-09-22 12:43:56 -04:00
Julian Berman 9e8c15e430 Release v2.1.0 2013-09-22 12:39:23 -04:00
Julian Berman 7b74ec8aa8 Squashed 'json/' changes from 9dc2c40..b6f129e
b6f129e patternProperties are not additionalProperties in draft3 either.
20fe647 Merge remote-tracking branch 'tolsen/patternProperties-are-not-additionalProperties' into develop
1fefae5 add test to draft4 that checks that patternProperties are not counted as additionalProperties
013a878 Merge pull request #44 from patefacio/develop
61705ec added entry for Dart
91febf4 Merge pull request #43 from zaggino/develop
0cf679f Added z-schema to the list
f5f3d58 Merge pull request #42 from sigu-399/develop
c029bbc Update README.md

git-subtree-dir: json
git-subtree-split: b6f129ea97c216490a7363843ee1946c9a3f2354
2013-09-22 11:06:50 -04:00
Julian Berman 1b3cbc4556 Merge commit '7b74ec8aa8f2b3414cb70ffa0e5a8fe3d1e24bcd'
* commit '7b74ec8aa8f2b3414cb70ffa0e5a8fe3d1e24bcd':
  Squashed 'json/' changes from 9dc2c40..b6f129e
2013-09-22 11:06:50 -04:00
Chase Sterling 292a256b91 Merge pull request #123 from gazpachoking/error_index_fix
Fix error paths when additionalItems is used with items keyword
2013-08-25 09:44:21 -07:00
Chase Sterling d60b7b4057 Cleanups to last commit
Add new additionalItems test instead of replacing old one
2013-08-25 12:37:05 -04:00
Chase Sterling 7bd85c5aaf Fix error paths when additionalItems is used with items keyword. fix #122 2013-08-24 12:49:19 -04:00
Julian Berman 55af59e75b Merge pull request #121 from radeex/docs-in-docstrings
Move the documentation for validate into the validate docstring
2013-08-22 11:05:05 -07:00
Christopher Armstrong db81ea81c4 Move the documentation for validate into the validate docstring
This allows for a better experience when using the Python
interactive interpreter.
2013-08-22 12:16:06 -05:00
Julian Berman dc9e996c5d Fight with reST 2013-07-28 21:16:40 -04:00
Julian Berman f78acbdc12 Add a note about versioning. 2013-07-28 21:07:05 -04:00
Julian Berman 5670b184af Line length. 2013-07-28 09:56:25 -04:00
Julian Berman 1b6d643efb Be sure to test schema_path somewhere. 2013-07-27 22:23:23 -04:00