Initial commit
This commit is contained in:
42 files changed
+17460
No files matched your search
@@ -0,0 +1,27 @@
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v6.0.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
name: Enforce removal of trailing whitespace
|
||||
- id: end-of-file-fixer
|
||||
name: Enforce end of the file format
|
||||
- id: check-yaml
|
||||
name: Check YAML syntax
|
||||
- id: check-toml
|
||||
name: Check TOML syntax
|
||||
- id: check-merge-conflict
|
||||
name: Check for merge conflict markers
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: ruff
|
||||
name: Lint with ruff
|
||||
entry: poetry run ruff check --fix
|
||||
language: system
|
||||
types: [python]
|
||||
- id: mypy
|
||||
name: Type-check with mypy
|
||||
entry: poetry run mypy
|
||||
language: system
|
||||
pass_filenames: false
|
||||
types_or: [python, pyi]
|
||||
Reference in new issue
Block a user