Skip to content

Commit

Permalink
add pre commit hook and test if it works
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens committed Sep 19, 2019
1 parent 19b5334 commit f40367a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ New features:

Bug fixes:

- *add item here*
- Black code style:

- Format code with black (pure defaults).
- Add pre-commit-hook.


0.3.9 (2019-03-02)
Expand Down
10 changes: 10 additions & 0 deletions buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,21 @@
develop = .
parts = devpython test

[buildout:python3]
parts +=
pre-commit

[devpython]
recipe = zc.recipe.egg
interpreter = devpython
eggs = z3c.autoinclude[test]

[pre-commit:python3]
recipe = plone.recipe.command
command =
pip install pre-commit
pre-commit install

[test]
recipe = zc.recipe.testrunner
eggs = z3c.autoinclude[test]

0 comments on commit f40367a

Please sign in to comment.