Исправление: добавил pre-commit хуки (ruff + ruff-format)
This commit is contained in:
parent
a9a2d40e5c
commit
a5ea2086cd
7
.pre-commit-config.yaml
Normal file
7
.pre-commit-config.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
repos:
|
||||||
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
|
rev: v0.8.6
|
||||||
|
hooks:
|
||||||
|
- id: ruff
|
||||||
|
args: [--fix]
|
||||||
|
- id: ruff-format
|
||||||
@ -1,2 +1,4 @@
|
|||||||
|
pre-commit>=3.5.0
|
||||||
pytest>=7.4.0
|
pytest>=7.4.0
|
||||||
pytest-asyncio>=0.21.0
|
pytest-asyncio>=0.21.0
|
||||||
|
ruff>=0.8.0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user