This commit is contained in:
Auric Vente 2024-07-28 01:10:29 -06:00
parent 9307c992f5
commit 3071a6b0f6
2 changed files with 20 additions and 1 deletions

18
.pre-commit-config.yaml Normal file
View File

@ -0,0 +1,18 @@
repos:
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.11.0
hooks:
- id: mypy
files: "^cromulant/.*"
args: [--strict, --strict, --strict, cromulant/main.py]
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: v0.5.5
hooks:
- id: ruff
name: ruff check
entry: ruff check
files: ^cromulant/
- id: ruff
name: ruff format
entry: ruff format
files: ^cromulant/

View File

@ -2,3 +2,4 @@ PySide6 == 6.7.2
appdirs == 1.4.4 appdirs == 1.4.4
wonderwords == 2.2.0 wonderwords == 2.2.0
fonttools == 4.53.1 fonttools == 4.53.1
pre-commit == 3.7.1