precommit-setup

This commit is contained in:
2024-01-25 12:25:52 +03:00
parent 8435c8e6b5
commit 152d5a4e99
14 changed files with 320 additions and 309 deletions

View File

@@ -14,11 +14,9 @@ repos:
- id: check-ast
- id: check-merge-conflict
- repo: local
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.6
hooks:
- id: lint-python
name: Lint Python
entry: poetry run ruff check .
types: [python]
language: system
pass_filenames: false
- id: ruff
args: [--fix]
- id: ruff-format