Skip to content

Commit 46993d5

Browse files
committed
Adding pre-commit hooks python-telegram-bot#259
1 parent 880746b commit 46993d5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- repo: git://github.com/pre-commit/mirrors-yapf
2+
sha: 'v0.7.1'
3+
hooks:
4+
- id: yapf
5+
args: [-i, -r tests telegram]

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ pylint
55
unittest2
66
flaky
77
yapf
8+
pre-commit

0 commit comments

Comments
 (0)