Skip to content

Commit

Permalink
Add initial .pre-commit-config
Browse files Browse the repository at this point in the history
Related: #13
  • Loading branch information
twmr committed May 14, 2022
1 parent 6275eac commit 9b0081c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
# nice but doesn't support sphinx syntax - see https://github.com/Lucas-C/pre-commit-hooks-markup/issues/13
# - repo: https://github.com/Lucas-C/pre-commit-hooks-markup
# rev: v1.0.1
# hooks:
# - id: rst-linter
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort

0 comments on commit 9b0081c

Please sign in to comment.