Skip to content

Commit

Permalink
Add pre commit hook (#12)
Browse files Browse the repository at this point in the history
* adding pre-commit-hook

* check

* white space
  • Loading branch information
Casyfill committed Jul 13, 2021
1 parent 0917239 commit 965435e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- id: catalyst-make-codestyle
name: catalyst-make-codestyle
description: 'makes code compatible with `catalyst` code style'
entry: catalyst-make-codestyle
language: python
types: [python]

- id: catalyst-check-codestyle
name: catalyst-check-codestyle
description: 'checks that the code is `catalyst` code style compliant'
entry: catalyst-check-codestyle
language: python
types: [python]

0 comments on commit 965435e

Please sign in to comment.