-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate Schema enforcer to use pydanticv2 (#161)
* Update pydantic to v2 with necessary changes for tests to pass. * Remove 3.12 from testing as there are ansible errors. * Fixed deprecation warnings due to migrating to pydanticv2. * Add test for load_validators to confirm which ones it loads. * Updated pydantic env settings and added tests. * Revert update of poetry.lock. Black tests/test_config_settings.py * Fixed Flake8 issue. * Loosened the pydantic version requirements to ^2.0
- Loading branch information
1 parent
613adfc
commit d89db1a
Showing
12 changed files
with
224 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ skips: [] | |
# No need to check for security issues in the test scripts! | ||
exclude_dirs: | ||
- "./tests/" | ||
- "./.venv/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,5 @@ rules: | |
line-length: "disable" | ||
quoted-strings: | ||
quote-type: "double" | ||
ignore: | | ||
.venv/ |
Oops, something went wrong.