Skip to content

Commit

Permalink
#21 Example commit for test
Browse files Browse the repository at this point in the history
  • Loading branch information
Createdd committed Aug 5, 2018
1 parent d61b17a commit 8983cd1
Show file tree
Hide file tree
Showing 3 changed files with 86 additions and 10 deletions.
23 changes: 23 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
repos:
- repo: https://github.com/ambv/black
rev: 18.6b4
hooks:
- id: black
stages: [push]
language_version: python3.6
- repo: https://github.com/pre-commit/mirrors-pylint
rev: v2.1.0
hooks:
- id: pylint
stages: [push]
- repo: local
hooks:
- id: pytest
stages: [push]
name: pytest
entry: .venv/bin/pytest
language: script
pass_filenames: false
# alternatively you could `types: [python]` so it only runs when python files change
# though tests might be invalidated if you were to say change a data file
always_run: true
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Flask = "*"
Sphinx = "*"
pylint = "*"
black = "*"
pre-commit = "*"

[dev-packages]

Expand Down
72 changes: 62 additions & 10 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8983cd1

Please sign in to comment.