Commit Graph

578 Commits

Author SHA1 Message Date
Dmitry Dygalo 18b7bdce18 ci(python): Fix Python build 2020-11-09 20:32:35 +01:00
Dmitry Dygalo 2f0190efb4 chore(python): Drop Python 3.5 support 2020-11-09 20:32:35 +01:00
Dmitry Dygalo 958a103864 chore(python): Update clippy lints 2020-11-09 20:32:35 +01:00
Dmitry Dygalo 2c288fe08f chore(python): Bump `PyO3` to `^0.12` 2020-11-09 20:32:35 +01:00
Dmitry Dygalo 1e9c4fbeed fix(python): Dependencies on `jsonschema` and `pyo3` 2020-11-09 20:32:35 +01:00
Dmitry Dygalo e5c66716fe chore: Fix clippy warnings 2020-10-13 21:32:07 +02:00
Evgenii P 7a9990e36b feat: Command Line Interface 2020-10-13 21:23:15 +02:00
Edoardo Morandi 9f04510ad0 feat: make reqwest an optional dependency 2020-10-08 15:09:18 +02:00
Dmitry Dygalo 224fb04085
chore: Add gitter link 2020-08-30 15:03:22 +02:00
Dmitry Dygalo 92e758cab1
chore: Update pre-commit 2020-08-28 21:39:41 +02:00
Dmitry Dygalo 5a16a2b14b
chore: Create FUNDING.yml 2020-08-28 21:33:21 +02:00
Dmitry Dygalo a7824857e2 chore: Avoid setting Python module documentation twice 2020-08-10 11:02:52 +02:00
Samuele Maci a3464b2190 fix: Ensure that tests are executed (they stopped as consequence of #132) 2020-07-27 00:51:19 +02:00
Samuele Maci cf145c4ceb chore: Use iterators instead of loops with inner returns 2020-07-25 14:31:18 +02:00
Samuele Maci e7a8821c88 chore: Reduce amount of explicit returns (use if-else instead) 2020-07-25 14:31:18 +02:00
Samuele Maci bf041d8b38 chore: Reduce code duplication in Validate::validate (relies on Validate::is_valid) 2020-07-25 14:31:18 +02:00
Samuele Maci fc0e772e7c feat: ContentEncoding checks are configurable and extendible 2020-07-24 21:28:48 +02:00
Samuele Maci 606e8e24b5 feat: contentMediaType checks are configurable and extendible 2020-07-24 21:28:48 +02:00
Samuele Maci 865f46fe06 chore: Enforce clippy checks on testing code as well
Update github actions to use clippy-check in order to have nice PR reports as well
Clippy rules are a bit more related for testing code
2020-07-23 22:36:07 +02:00
Samuele Maci bfd508a98b feat: Define CompilationOptions to allow for easier expansion (ie. contentType, format, mediaType) 2020-07-22 17:09:41 +02:00
Samuele Maci bc04d70ae3 chore: Add unreachable_pub lint 2020-07-18 16:03:55 +02:00
Samuele Maci 7b3978f83b chore: Update clippy lint names 2020-07-18 16:03:55 +02:00
Dmitry Dygalo efec152221 fix: Handle errors during conversion to `Value` instead of using `unwrap` 2020-06-30 20:13:58 +02:00
Dmitry Dygalo 425b0410c9 chore: Update `PyO3` to `0.11` 2020-06-30 19:42:25 +02:00
Dmitry Dygalo 9657a53457
chore: Fix typo 2020-06-30 18:43:52 +02:00
Dmitry Dygalo 5f2707bfb9 chore: Remove `__init__.py` file
Ref: #121
2020-06-30 12:03:01 +02:00
Samuele Maci 1618ae9ec1 chore: Bump JSON-Schema-Test-Suite 2020-06-30 12:01:24 +02:00
Samuele Maci cb6a4002d6 fix: Add `idna` dependency to improve idn-hostname format correctness 2020-06-30 11:01:35 +02:00
Dmitry Dygalo efebefd9f3
docs: Update changelog 2020-06-24 14:23:55 +02:00
Samuele Maci 86bf0de915 style: Extract Validate::name into ToString trait 2020-06-24 14:20:45 +02:00
Samuele Maci d88aa0e4b4 fix: Ensure that formats are applied only to correspondent drafts 2020-06-24 14:19:55 +02:00
Samuele Maci 05d0c0de7a chore: Ensure that JSONSchema::is_valid is in sync with JSONSchema::validate 2020-06-23 13:22:50 +02:00
Samuele Maci 782007d3a5 fix: Remove UNRELEASED_JSONSCHEMA_PATH workaround as Cargo supports path and versions together 2020-06-23 13:22:50 +02:00
Samuele Maci abf94ca2c1 fix: Re-enable python tests on windows 2020-06-23 13:22:50 +02:00
Dmitry Dygalo f886d1132a
docs: Add missed changelog entries 2020-06-22 12:42:34 +02:00
Samuele Maci fe57c21f98 chore: Disable/Ignore idn-hostname tests (#101) 2020-06-22 12:39:27 +02:00
Samuele Maci d34417b4bf fix: emascript-regex related JSON-Schema-Test-Suite test failures 2020-06-22 12:39:27 +02:00
Samuele Maci 0565845257 chore: Bump JSON-Schema-Test-Suite 2020-06-22 12:39:27 +02:00
Samuele Maci 1f7f437be3 chore: Make resolver tests independent from JSON-Schema-Test-Suite 2020-06-22 12:39:27 +02:00
Dmitry Dygalo f958c70e66
chore: Python release 0.3.3 2020-06-22 12:38:56 +02:00
Dmitry Dygalo ef4763198d
chore: Exclude not necessary files in Cargo.toml 2020-06-22 12:34:31 +02:00
Dmitry Dygalo 2bf8ccb780
chore: Release 0.3.1 2020-06-21 22:45:24 +02:00
Samuele Maci 1b5ce73162 fix: `items` allows the presence of boolean schemas 2020-06-21 18:20:59 +02:00
Dmitry Dygalo 3a7f542354
chore: Python release 0.3.2 2020-06-13 12:01:20 +02:00
Dmitry Dygalo 2db248773c
docs: Fix URL in Python package metadata 2020-06-13 11:58:36 +02:00
Samuele Maci 23e948017c fix: Python source distribution and wheel uploads from all the platforms
The artifact upload has been centralised into a single job to ensure that we're not partially
publishing artifacts as well as simplification to have a single PyPi interaction point
2020-06-13 11:43:31 +02:00
Dmitry Dygalo 4458354593
chore: Python release 0.3.1 2020-06-12 18:10:13 +02:00
Dmitry Dygalo c314e548c8
docs: Update CHANGELOG.md 2020-06-12 18:08:56 +02:00
Samuele Maci c95a8d5903 feat: Update github python releaase workflow to release wheels for linux, macos and windows 2020-06-12 18:04:23 +02:00
Samuele Maci 059ac3238b fix: test-runs on windows 2020-06-12 18:04:23 +02:00