feat: update to pydantic v2 and refactor accordingly
This commit is contained in:
parent
4eb438bab3
commit
eeb1573f99
6 changed files with 1151 additions and 855 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue