Skip to content

Commit

Permalink
add git pre-commit hook to run black formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
aantn committed Jul 10, 2021
1 parent 412a5d0 commit 71135f3
Show file tree
Hide file tree
Showing 3 changed files with 353 additions and 188 deletions.
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
repos:
- repo: https://github.com/psf/black
rev: 21.6b0 # Replace by any tag/version: https://github.com/psf/black/tags
hooks:
- id: black
language_version: python3 # Should be a command that runs python3.6+
Loading

0 comments on commit 71135f3

Please sign in to comment.