Skip to content

Commit

Permalink
Add pre-commit configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dalonsoa committed Nov 3, 2023
1 parent d3c559a commit 9ba1063
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: check-merge-conflict
- id: debug-statements
- repo: https://github.com/psf/black
rev: "23.10.1"
hooks:
- id: black
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.1.3'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: "v1.6.1"
# hooks:
# - id: mypy
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.37.0
hooks:
- id: markdownlint
args: ["--disable", "MD013", "--"]

0 comments on commit 9ba1063

Please sign in to comment.