Commit Graph

11 Commits

Author SHA1 Message Date
Alex Waygood
653f2c6ba4 Third-party stubs: import from collections.abc where possible (#7637) 2022-04-16 14:52:57 +01:00
Alex Waygood
740193a8fc Use TypeAlias where possible for type aliases (#7630) 2022-04-15 18:01:00 -07:00
Stephen Rosen
134f047402 jsonschema: mark schemas as Mapping[str, Any] (#7489) 2022-03-14 17:11:33 +01:00
Stephen Rosen
a3027d3b96 jsonschema: RefResolver.referrer is a dict[str, Any] (#7487) 2022-03-14 16:27:08 +01:00
Sebastian Rittau
c2182fdd3e Treat validators as classes (#7035)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
2022-01-25 07:43:40 -08:00
Sebastian Rittau
fabd842857 Annotate parts of jsonschema.validators and URIDict (#7025) 2022-01-24 16:42:29 +01:00
Jelle Zijlstra
85318d1b21 Cleanup: do not quote types unnecessarily (#6931)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-01-16 20:18:17 +02:00
Stephen Rosen
806a5bcece Add jsonschema.protocols to library stubs (#6614)
`jsonschema.protocols.Validator` was introduced in `jsonschema` v4.3.0
It's also available under the name `jsonschema.Validator`.
2021-12-17 13:30:58 +01:00
Michael A. Smith
6c9efbae9d Updated stubs to jsonschema 4.2 (#6486) 2021-12-06 17:27:33 +01:00
Sebastian Rittau
9f86972350 Add star to all non-0.1 versions (#6146) 2021-10-11 13:41:19 -07:00
Jukka Lehtosalo
937d31df69 Stubs for jsonschema (#5784) 2021-07-15 17:28:57 +02:00