ansible.utils/plugins
Sebastian Wiesinger c2231a6b20
Update jsonschema validator (#226)
* Update jsonschema validator

Update jsonschema validator to support newer drafts. It now supports
drafts 2019-09 and 2020-12.

The logic for choosing the jsonschema validator class has changed so
that the following enhancements are available:

- When no draft is explicitly specified we now use use the validator
  draft that is specified in the "$schema" field of the criteria. This
  is done by the jsonschema module by default and should support
  possible future drafts without any changes to this code.

- Optionally allow to disable format checks in the code. As format
  checks are not required by the spec there might be situations where
  people want to disable them.

* Update requirements.txt

* Skip all tests which dependas on jsonschema 4.5

* jsonschema: Refactor code to support python 3.6

* Fix jsonschema requirements for python<3.7

* jsonschema: Update code for compatibility

* Better documentation and error handling for missing schema specifications

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Ashwini Mhatre <amhatre@redhat.com>
Co-authored-by: ashwini-mhatre <mashu97@gmail.com>
2023-04-05 11:01:12 -04:00
..
action add validated content plugin support (#201) 2022-11-03 14:43:04 +00:00
filter Update pre-commit config (#245) 2023-03-29 18:18:57 -04:00
lookup Clean up test failures (#216) 2022-10-13 11:01:42 -04:00
module_utils/common Clean up test failures (#216) 2022-10-13 11:01:42 -04:00
modules Add isort, increase black line length (#189) 2022-05-26 13:18:57 -04:00
plugin_utils Fixed the netaddr error msg for clarity (#244) 2023-04-05 18:54:10 +05:30
sub_plugins Update jsonschema validator (#226) 2023-04-05 11:01:12 -04:00
test Update regexes to work around Python 3.11 changes (#231) 2022-12-05 13:32:45 -05:00