Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,179 changes: 623 additions & 556 deletions poetry.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
include = [
"CHANGELOG.md",
Expand All @@ -26,7 +27,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.10,<3.14"
python = ">=3.10,<3.15"
# Packages
click = ">=8.2.0"
jinja2 = ">=3.1.6,<4.0.0"
Expand Down
1 change: 0 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from schema_enforcer.utils import load_file
from schema_enforcer.schemas.jsonschema import JsonSchema


FIXTURES_DIR = os.path.join(os.path.dirname(os.path.realpath(__file__)), "fixtures", "test_jsonschema")
FORMAT_CHECK_ERROR_MESSAGE_MAPPING = {
"incorrect_regex_format": "'[' is not a 'regex'",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@

from schema_enforcer.schemas.manager import PydanticManager


manager1 = PydanticManager(models=[Hostname, Interfaces])
manager2 = PydanticManager(prefix="pydantic", models=[Hostname, Interfaces, Dns])
1 change: 0 additions & 1 deletion tests/test_ansible_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

from schema_enforcer.ansible_inventory import AnsibleInventory


INVENTORY_DIR = "tests/mocks/inventory"


Expand Down
1 change: 1 addition & 0 deletions tests/test_jsonschema.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# pylint: disable=redefined-outer-name
"""Tests to validate functions defined in jsonschema.py"""

import os
import pytest

Expand Down
1 change: 1 addition & 0 deletions tests/test_schemas_schema_manager.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# pylint: disable=redefined-outer-name
"""Test manager.py SchemaManager class"""

import os
import pytest
from schema_enforcer.schemas.manager import SchemaManager
Expand Down
Loading