feat: Better structure, add tests

This commit is contained in:
2026-05-09 17:38:37 +03:00
parent 3750804145
commit 827ec85907
9 changed files with 913 additions and 157 deletions
+10 -4
View File
@@ -1,9 +1,15 @@
repos:
- repo: https://github.com/psf/black
rev: 24.10.0
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.15.12
hooks:
- id: black
args: [--line-length=88, --target-version=py38]
# Run the linter.
- id: ruff-check
types_or: [ python, pyi, jupyter ]
args: [ --fix ]
# Run the formatter.
- id: ruff-format
types_or: [ python, pyi, jupyter ]
- repo: https://github.com/PyCQA/flake8
rev: 7.1.1
hooks: