Update __main__.py to sync entrypoint
This commit is contained in:
23
.pre-commit-config.yaml
Normal file
23
.pre-commit-config.yaml
Normal file
@ -0,0 +1,23 @@
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- repo: https://github.com/pycqa/isort
|
||||
rev: 5.13.2
|
||||
hooks:
|
||||
- id: isort
|
||||
args: [--profile, black]
|
||||
- repo: https://github.com/psf/black-pre-commit-mirror
|
||||
rev: 25.1.0
|
||||
hooks:
|
||||
- id: black
|
||||
args: [-l, "90"]
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: sync-version
|
||||
name: Sync version from pyproject.toml
|
||||
entry: poetry run sync-version
|
||||
language: system
|
||||
files: ^pyproject\.toml$
|
Reference in New Issue
Block a user