Skip to content

Commit

Permalink
add pre-commit-config
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesturk committed Nov 5, 2019
1 parent d9a7b13 commit 37ba5e1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
default_language_version:
python: python3.7
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3 # Use the ref you want to point at
hooks:
- id: check-merge-conflict
- id: debug-statements
- id: flake8
exclude: openstates/il/tests/
# - repo: https://github.com/ambv/black
# rev: stable
# hooks:
# - id: black
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
description='Open States',
long_description=long_description,
platforms=['any'],
)
)

0 comments on commit 37ba5e1

Please sign in to comment.