precommit-setup
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user