mirror of https://github.com/JoshKarpel/spiel
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
# See https://pre-commit.com for more information
|
|
# See https://pre-commit.com/hooks.html for more hooks
|
|
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.4.0
|
|
hooks:
|
|
- id: check-added-large-files
|
|
- id: check-ast
|
|
- id: check-builtin-literals
|
|
- id: check-case-conflict
|
|
- id: check-docstring-first
|
|
- id: check-merge-conflict
|
|
- id: check-toml
|
|
- id: check-json
|
|
- id: debug-statements
|
|
- id: end-of-file-fixer
|
|
- id: forbid-new-submodules
|
|
- id: mixed-line-ending
|
|
- id: trailing-whitespace
|
|
- repo: https://github.com/pre-commit/pygrep-hooks
|
|
rev: v1.9.0
|
|
hooks:
|
|
- id: python-check-mock-methods
|
|
- id: python-no-eval
|
|
- id: python-no-log-warn
|
|
- id: python-use-type-annotations
|
|
- id: python-check-blanket-type-ignore
|
|
- repo: https://github.com/hadialqattan/pycln
|
|
rev: v2.1.2
|
|
hooks:
|
|
- id: pycln
|
|
args: [ --config=pyproject.toml ]
|
|
- repo: https://github.com/PyCQA/isort
|
|
rev: 5.10.1
|
|
hooks:
|
|
- id: isort
|
|
- repo: https://github.com/psf/black
|
|
rev: 22.10.0
|
|
hooks:
|
|
- id: black
|