Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Minor restructure of which html sphinx builder we build in the tox.ini.v4.0.0a4 | Julian Berman | 2021-08-24 | 2 | -13/+6 |
| | |||||
* | Be furoious. | Julian Berman | 2021-08-24 | 3 | -1/+17 |
| | |||||
* | Unskip more passing tests. | Julian Berman | 2021-08-24 | 1 | -86/+16 |
| | |||||
* | Fix items' instance path as well. | Julian Berman | 2021-08-24 | 2 | -3/+58 |
| | |||||
* | And simplify items as well. | Julian Berman | 2021-08-24 | 1 | -16/+9 |
| | |||||
* | Slightly nicer error message for not. | Julian Berman | 2021-08-23 | 2 | -4/+3 |
| | |||||
* | Merge pull request #833 from hrnciar/remove-shebangs | Julian Berman | 2021-08-23 | 2 | -2/+0 |
|\ | | | | | Remove shebangs from nonexecutable scripts | ||||
| * | Remove shebangs from nonexecutable scripts | Tomas Hrnciar | 2021-08-23 | 2 | -2/+0 |
|/ | | | | | | | | | | | | | When packaging jsonschema and poetry-core (which bundles it) in Fedora, we have realised that there are nonexecutable files with a shebang line. It seems that the primary purpose of these files is to be imported from Python code and hence the shebangs appear to be unnecessary. Shebangs are hard to handle when doing downstream packaging, because it makes sense for upstream to use `#!/usr/bin/env` python while in the RPM package, we need to avoid that and use a more specific interpreter. Since the shebangs were unused, I propose to remove them to avoid problems. | ||||
* | Remove a test that is only relevant for Py2+3 combined codebases. | Julian Berman | 2021-08-23 | 1 | -6/+0 |
| | |||||
* | Fix the schema path used by prefixItems errors. | Julian Berman | 2021-08-23 | 2 | -7/+53 |
| | | | | Also simplify its implementation, what it's doing is just zip. | ||||
* | Sigh, flake8. | Julian Berman | 2021-08-21 | 1 | -2/+2 |
| | |||||
* | And deprecate importing ErrorTree from jsonschema.validators. | Julian Berman | 2021-08-21 | 2 | -10/+29 |
| | |||||
* | Build RTD with 3.8v4.0.0a3 | Julian Berman | 2021-08-20 | 1 | -1/+1 |
| | |||||
* | Drop support for Python 3.6.deprecations | Julian Berman | 2021-08-20 | 3 | -17/+4 |
| | | | | | | | | | It's in security fix only mode (till EOY) and doesn't support module-level __getattr__ yet, which presents enough of a minor nuisance to drop it. Users should stick to older jsonschema versions (which should be properly marked.) | ||||
* | Deprecate jsonschema.__version__. | Julian Berman | 2021-08-20 | 6 | -15/+55 |
| | | | | | importlib.metadata is in the standard library now, so there's not much purpose in pre-calculating this attribute. | ||||
* | Let format_index handle the container too. | Julian Berman | 2021-08-20 | 2 | -10/+16 |
| | | | | May as well, this is only used in 2 places. | ||||
* | Minor style. | Julian Berman | 2021-08-19 | 2 | -7/+7 |
| | |||||
* | yield from everywhere, saving precious lines | Julian Berman | 2021-08-18 | 2 | -64/+35 |
| | |||||
* | Merge commit '2591383efc85ba04e52e09aa73376f515baa4a49' | Julian Berman | 2021-08-18 | 3 | -1/+76 |
|\ | | | | | | | | | * commit '2591383efc85ba04e52e09aa73376f515baa4a49': Squashed 'json/' changes from 878b0ad5f..eb619047f | ||||
| * | Squashed 'json/' changes from 878b0ad5f..eb619047f | Julian Berman | 2021-08-18 | 3 | -1/+76 |
| | | | | | | | | | | | | | | | | eb619047f Merge pull request #504 from json-schema-org/minContains-0-but-maxContains c41a68e83 Add tests for minContains = 0 but with maxContains git-subtree-dir: json git-subtree-split: eb619047f145de038d60e1ded4b7957d4fe6bd2f | ||||
* | | More strict style, now via bugbear. | Julian Berman | 2021-08-18 | 9 | -26/+29 |
| | | | | | | | | | | | | The unevaluated* validators will definitely need rewriting, what they do right now is completely incorrect (which bugbear points out at least, though poking at them trivially also does). | ||||
* | | Reimplement contains. | Julian Berman | 2021-08-18 | 2 | -51/+25 |
| | | | | | | | | | | | | | | Fixes a bug where maxContains was being ignored if minContains was set to 0. Also now short circuits as soon as more than maxContains is reached rather than continuing to validate. | ||||
* | | Remove types_msg which implements really old draft-3 behavior. | Julian Berman | 2021-08-18 | 3 | -22/+10 |
| | | | | | | | | | | | | Since then, types aren't objects, they're just strings. This just wastes time catching exceptions for newer drafts. | ||||
* | | Tidy up validation error messages, particularly using f-strings. | Julian Berman | 2021-08-18 | 10 | -152/+320 |
| | | |||||
* | | Run the unicode and float-overflow optional tests on all drafts. | Julian Berman | 2021-08-18 | 1 | -0/+8 |
| | | |||||
* | | Merge commit '0fe6d845792049d67e25b452ca056689783358eb' | Julian Berman | 2021-08-18 | 6 | -6/+6 |
|\ \ | |/ | | | | | | | * commit '0fe6d845792049d67e25b452ca056689783358eb': Squashed 'json/' changes from bb2a20d3e..878b0ad5f | ||||
| * | Squashed 'json/' changes from bb2a20d3e..878b0ad5f | Julian Berman | 2021-08-18 | 6 | -6/+6 |
| | | | | | | | | | | | | | | 878b0ad5f properly escape this newline character - thanks Srikrishnan Suresh! git-subtree-dir: json git-subtree-split: 878b0ad5f016915572dab7a4543a045d38b7098e | ||||
* | | Remove more unneeded u prefixes. | Julian Berman | 2021-08-18 | 7 | -101/+101 |
| | | |||||
* | | And a linter to forbid slash-line-continuation. | Julian Berman | 2021-08-18 | 2 | -1/+4 |
| | | |||||
* | | Add a linter to ensure single quotes aren't added. | Julian Berman | 2021-08-18 | 8 | -60/+61 |
| | | |||||
* | | Add the drafts to the changelog. | Julian Berman | 2021-08-18 | 1 | -0/+2 |
| | | |||||
* | | Unnecessary `len`s. | Julian Berman | 2021-08-18 | 1 | -2/+2 |
| | | |||||
* | | Update the draft info in the README. | Julian Berman | 2021-08-18 | 1 | -0/+2 |
| | | |||||
* | | May as well add support for Draft 2019 as well. | Julian Berman | 2021-08-18 | 16 | -36/+488 |
| | | | | | | | | recursiveRef is broken in the same way dynamicRef is. | ||||
* | | Remove the $defs validator. | Julian Berman | 2021-08-18 | 2 | -29/+3 |
| | | | | | | | | | | | | | | This isn't correct, $defs doesn't have behavior (it isn't an assertion). The reason these tests fail is because the dynamicRef implementation isn't fully correct (will need some restructuring). | ||||
* | | And add it to the docs. | Julian Berman | 2021-08-18 | 1 | -0/+2 |
| | | |||||
* | | Fix Draft2020-12Validator's name to be Draft202012Validator. | Julian Berman | 2021-08-18 | 2 | -1/+11 |
| | | |||||
* | | Don't check schemas in test suite runs. | Julian Berman | 2021-08-18 | 1 | -7/+2 |
| | | | | | | | | | | | | Saves a bit of work (given test suite schemas are 'guaranteed' to be valid), but more importantly is easier to debug with a debugger since there's only one pass of validation for an example. | ||||
* | | Bump doc requirements. | Julian Berman | 2021-08-17 | 2 | -21/+21 |
| | | |||||
* | | Spelling | Julian Berman | 2021-08-17 | 1 | -1/+1 |
| | | |||||
* | | Freenode is dead. | Julian Berman | 2021-08-17 | 1 | -3/+3 |
| | | |||||
* | | Fix the names of internal test cases for newer drafts. | Julian Berman | 2021-08-17 | 1 | -1/+1 |
| | | |||||
* | | Remove some u prefixes leftover from Py2. | Julian Berman | 2021-08-17 | 1 | -160/+160 |
| | | |||||
* | | Merge pull request #830 from linuxholic/patch-1 | Julian Berman | 2021-08-09 | 1 | -1/+1 |
|\ \ | | | | | | | Update setup.cfg | ||||
| * | | Update setup.cfg | 杨鹏 | 2021-08-09 | 1 | -1/+1 |
|/ / | | | | | excludes yanked pyrsistent versions | ||||
* | | Fix the UUID format. | Julian Berman | 2021-08-06 | 1 | -3/+2 |
| | | | | | | | | | | The specification requires the verbose (with-dashes) format of specifying UUIDs. | ||||
* | | Merge commit 'f29c81f3d812a0d82428c90f3623dc5fb5331b2c' | Julian Berman | 2021-08-06 | 3 | -0/+45 |
|\ \ | |/ | | | | | | | * commit 'f29c81f3d812a0d82428c90f3623dc5fb5331b2c': Squashed 'json/' changes from f9acc454..bb2a20d3 | ||||
| * | Squashed 'json/' changes from f9acc454..bb2a20d3 | Julian Berman | 2021-08-06 | 3 | -0/+45 |
| | | | | | | | | | | | | | | | | bb2a20d3 Merge pull request #503 from json-schema-org/uuid-dashes 8e746b3a Test that UUIDs have dashes in the right spots. git-subtree-dir: json git-subtree-split: bb2a20d3ea6dc343754884afab674e990faae35a | ||||
* | | Merge branch 'draft2020-12' | Julian Berman | 2021-08-04 | 16 | -114/+115 |
|\ \ | | | | | | | | | | | | | | | | | | | * draft2020-12: Squashed 'json/' changes from fd0aa9f8..f9acc454 Fix missing trailing commas. Tidy the docstring slightly. | ||||
| * \ | Merge commit '528eb6f3d00e32a0c71a0bb10c1e443d102d5120' into draft2020-12 | Julian Berman | 2021-08-04 | 1 | -0/+15 |
| |\ \ | | |/ | | | | | | | | | | * commit '528eb6f3d00e32a0c71a0bb10c1e443d102d5120': Squashed 'json/' changes from fd0aa9f8..f9acc454 |