feat: update to pydantic v2 and refactor accordingly

This commit is contained in:
cătălin 2023-07-22 13:29:46 +02:00
commit eeb1573f99
Signed by: catalin
GPG key ID: 0178DF42F43E5FD2
6 changed files with 1151 additions and 855 deletions

View file

@ -1,6 +1,3 @@
default_language_version:
python: python3.10
files: ^halig|tests$
repos:
@ -22,7 +19,7 @@ repos:
args: [ --fix=lf ]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.0.267
rev: v0.0.278
hooks:
- id: ruff
args:
@ -30,7 +27,7 @@ repos:
- --exit-non-zero-on-fix
- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.7.0
hooks:
- id: black
pass_filenames: false