summaryrefslogtreecommitdiff
path: root/cloudinit/config/schema.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/config/schema.py')
-rw-r--r--cloudinit/config/schema.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/config/schema.py b/cloudinit/config/schema.py
index 3a77ca00..f54cf18f 100644
--- a/cloudinit/config/schema.py
+++ b/cloudinit/config/schema.py
@@ -118,12 +118,12 @@ def get_jsonschema_validator():
type_checker=type_checker,
)
else: # jsonschema 2.6 workaround
- types = Draft4Validator.DEFAULT_TYPES
+ types = Draft4Validator.DEFAULT_TYPES # pylint: disable=E1101
# Allow bytes as well as string (and disable a spurious unsupported
# assignment-operation pylint warning which appears because this
# code path isn't written against the latest jsonschema).
types["string"] = (str, bytes) # pylint: disable=E1137
- cloudinitValidator = create(
+ cloudinitValidator = create( # pylint: disable=E1123
meta_schema=strict_metaschema,
validators=Draft4Validator.VALIDATORS,
version="draft4",