Skip to content

Commit

Permalink
Added pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
albertopoljak committed May 3, 2020
1 parent 2920535 commit 6bd221e
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
repos:
- repo: local
hooks:
- id: flake8
name: Flake8
description: Lints this repository using flake8.
entry: pipenv run lint
language: python
types: [python]
require_serial: true
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ verify_ssl = false

[dev-packages]
flake8 = "*"
pre-commit = "*"

[packages]
discord-py = "*"
Expand Down
102 changes: 101 additions & 1 deletion Pipfile.lock

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

0 comments on commit 6bd221e

Please sign in to comment.