Skip to content

Commit

Permalink
Add simple pre-commit
Browse files Browse the repository at this point in the history
Minor changes from original PR.

Signed-off-by: Cristian Le <[email protected]>
Signed-off-by: Nick Papior <[email protected]>
  • Loading branch information
zerothi committed Feb 19, 2024
1 parent 7da486a commit 067585a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: trailing-whitespace
exclude: ^LICENSE
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.16
hooks:
# for the README.md file (possibly more to come)
- id: mdformat
additional_dependencies:
- mdformat-gfm
- mdformat-tables
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.23.2
hooks:
- id: check-github-workflows
- id: check-readthedocs

0 comments on commit 067585a

Please sign in to comment.