Skip to content

Commit

Permalink
ci: add black as pre-commit hook
Browse files Browse the repository at this point in the history
Pre-commit allows for incremental changes and pins the version of
the tool that is applied. Install as folllows:

    python3 -m pip install pre-commit
    pre-commit install
  • Loading branch information
redeboer committed Nov 6, 2021
1 parent f0ad6ca commit ea6e4eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
repos:
- repo: https://github.com/psf/black
rev: 21.10b0
hooks:
- id: black

0 comments on commit ea6e4eb

Please sign in to comment.