summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge commit 'b5e545b0e0a3a614562293fd7755cd8d2283e8d2'Julian Berman2021-08-2429-0/+225
|\ \ | |/ | | | | | | * commit 'b5e545b0e0a3a614562293fd7755cd8d2283e8d2': Squashed 'json/' changes from ab0b1ae71..20c1bb1d9
| * Squashed 'json/' changes from ab0b1ae71..20c1bb1d9Julian Berman2021-08-2429-0/+225
| | | | | | | | | | | | | | 20c1bb1d9 test for non-ascii digits in various formats git-subtree-dir: json git-subtree-split: 20c1bb1d9ec0d6f995fc06d6ea270d7155ac9d43
* | Actually add the badge.Julian Berman2021-08-241-2/+2
| |
* | Add a pre-commit.ci badge.Julian Berman2021-08-241-0/+4
| |
* | Minor local variable tweaking.v4.0.0a5Julian Berman2021-08-241-3/+4
| |
* | Skip more new leap second tests.Julian Berman2021-08-241-2/+27
| |
* | Merge commit '6cf6ff85b7cf595609a10267a85d354202e3b2f0'Julian Berman2021-08-2417-431/+679
|\ \ | |/ | | | | | | * commit '6cf6ff85b7cf595609a10267a85d354202e3b2f0': Squashed 'json/' changes from eb619047f..ab0b1ae71
| * Squashed 'json/' changes from eb619047f..ab0b1ae71Julian Berman2021-08-2417-431/+679
| | | | | | | | | | | | | | | | | | | | | | ab0b1ae71 fix draft4 schemas 0df96bc38 group tests to avoid duplicating test descriptions 93293efca fix indentation 76b529ff6 Merge pull request #482 from json-schema-org/ether/more-date-time-tests 57f1d63d7 some more tests for "date" and "time" formats git-subtree-dir: json git-subtree-split: ab0b1ae710158817af2e48556e22377363aeb169
* | Remove resolve_local.Julian Berman2021-08-242-19/+15
| | | | | | | | | | We don't want to grow the public API of RefResolvers, they have enough issues already.
* | Minor restructure of which html sphinx builder we build in the tox.ini.v4.0.0a4Julian Berman2021-08-242-13/+6
| |
* | Be furoious.Julian Berman2021-08-243-1/+17
| |
* | Unskip more passing tests.Julian Berman2021-08-241-86/+16
| |
* | Fix items' instance path as well.Julian Berman2021-08-242-3/+58
| |
* | And simplify items as well.Julian Berman2021-08-241-16/+9
| |
* | Slightly nicer error message for not.Julian Berman2021-08-232-4/+3
| |
* | Merge pull request #833 from hrnciar/remove-shebangsJulian Berman2021-08-232-2/+0
|\ \ | | | | | | Remove shebangs from nonexecutable scripts
| * | Remove shebangs from nonexecutable scriptsTomas Hrnciar2021-08-232-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 Berman2021-08-231-6/+0
| |
* | Fix the schema path used by prefixItems errors.Julian Berman2021-08-232-7/+53
| | | | | | | | Also simplify its implementation, what it's doing is just zip.
* | Sigh, flake8.Julian Berman2021-08-211-2/+2
| |
* | And deprecate importing ErrorTree from jsonschema.validators.Julian Berman2021-08-212-10/+29
| |
* | Build RTD with 3.8v4.0.0a3Julian Berman2021-08-201-1/+1
| |
* | Drop support for Python 3.6.deprecationsJulian Berman2021-08-203-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 Berman2021-08-206-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 Berman2021-08-202-10/+16
| | | | | | | | May as well, this is only used in 2 places.
* | Minor style.Julian Berman2021-08-192-7/+7
| |
* | yield from everywhere, saving precious linesJulian Berman2021-08-182-64/+35
| |
* | Merge commit '2591383efc85ba04e52e09aa73376f515baa4a49'Julian Berman2021-08-183-1/+76
|\ \ | |/ | | | | | | * commit '2591383efc85ba04e52e09aa73376f515baa4a49': Squashed 'json/' changes from 878b0ad5f..eb619047f
| * Squashed 'json/' changes from 878b0ad5f..eb619047fJulian Berman2021-08-183-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 Berman2021-08-189-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 Berman2021-08-182-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 Berman2021-08-183-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 Berman2021-08-1810-152/+320
| |
* | Run the unicode and float-overflow optional tests on all drafts.Julian Berman2021-08-181-0/+8
| |
* | Merge commit '0fe6d845792049d67e25b452ca056689783358eb'Julian Berman2021-08-186-6/+6
|\ \ | |/ | | | | | | * commit '0fe6d845792049d67e25b452ca056689783358eb': Squashed 'json/' changes from bb2a20d3e..878b0ad5f
| * Squashed 'json/' changes from bb2a20d3e..878b0ad5fJulian Berman2021-08-186-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 Berman2021-08-187-101/+101
| |
* | And a linter to forbid slash-line-continuation.Julian Berman2021-08-182-1/+4
| |
* | Add a linter to ensure single quotes aren't added.Julian Berman2021-08-188-60/+61
| |
* | Add the drafts to the changelog.Julian Berman2021-08-181-0/+2
| |
* | Unnecessary `len`s.Julian Berman2021-08-181-2/+2
| |
* | Update the draft info in the README.Julian Berman2021-08-181-0/+2
| |
* | May as well add support for Draft 2019 as well.Julian Berman2021-08-1816-36/+488
| | | | | | | | recursiveRef is broken in the same way dynamicRef is.
* | Remove the $defs validator.Julian Berman2021-08-182-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 Berman2021-08-181-0/+2
| |
* | Fix Draft2020-12Validator's name to be Draft202012Validator.Julian Berman2021-08-182-1/+11
| |
* | Don't check schemas in test suite runs.Julian Berman2021-08-181-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 Berman2021-08-172-21/+21
| |
* | SpellingJulian Berman2021-08-171-1/+1
| |
* | Freenode is dead.Julian Berman2021-08-171-3/+3
| |