mirror of https://github.com/mingrammer/diagrams
parent
a71e447dc0
commit
101b732ae0
@ -0,0 +1,40 @@
|
|||||||
|
repos:
|
||||||
|
# - repo: https://github.com/pycqa/isort
|
||||||
|
# rev: 5.12.0
|
||||||
|
# hooks:
|
||||||
|
# - id: isort
|
||||||
|
# name: Run isort to sort imports in Python files
|
||||||
|
|
||||||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
|
rev: v4.4.0
|
||||||
|
hooks:
|
||||||
|
- id: check-yaml
|
||||||
|
- id: check-toml
|
||||||
|
- id: end-of-file-fixer
|
||||||
|
- id: mixed-line-ending
|
||||||
|
- id: trailing-whitespace
|
||||||
|
args: [ --markdown-linebreak-ext=md ]
|
||||||
|
|
||||||
|
- repo: https://github.com/codespell-project/codespell
|
||||||
|
rev: v2.2.2
|
||||||
|
hooks:
|
||||||
|
- id: codespell
|
||||||
|
args: [ --write-changes ]
|
||||||
|
|
||||||
|
- repo: https://github.com/psf/black
|
||||||
|
rev: 23.1.0
|
||||||
|
hooks:
|
||||||
|
- id: black
|
||||||
|
name: Run black (python formatter)
|
||||||
|
|
||||||
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
||||||
|
rev: v0.0.198
|
||||||
|
hooks:
|
||||||
|
- id: ruff
|
||||||
|
|
||||||
|
# - repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
|
# rev: v0.991
|
||||||
|
# hooks:
|
||||||
|
# - id: mypy
|
||||||
|
# args: [ . ]
|
||||||
|
# pass_filenames: false
|
Loading…
Reference in new issue