feat: Better structure, add tests
This commit is contained in:
+10
-4
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user