Skip to content

Commit

Permalink
Add Black and Flake8 configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
frankier committed May 26, 2018
1 parent bc164b5 commit a42b8fe
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
repos:
- repo: https://github.com/ambv/black
rev: stable
hooks:
- id: black
args: []
python_version: python3.6
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: master
hooks:
- id: flake8
1 change: 1 addition & 0 deletions run_black.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pipenv run black finntk setup.py

0 comments on commit a42b8fe

Please sign in to comment.