-
-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
30 lines (30 loc) · 866 Bytes
/
.pre-commit-config.yaml
File metadata and controls
30 lines (30 loc) · 866 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.0.0
hooks:
- id: trailing-whitespace
types: [python]
- id: end-of-file-fixer
types: [python]
- id: check-yaml
- id: check-added-large-files
exclude: (?x)^tests/mocks/.+$
- repo: git://github.com/Lucas-C/pre-commit-hooks-markup
rev: v1.0.0
hooks:
- id: rst-linter
files: README\.rst
- repo: local
hooks:
- id: version_bump
name: Version bump
entry: ./pre-commit
language: script
stages: [commit]
files: efb_telegram_master/.+\.py
exclude_types: [pofile]
exclude: .+(__version__\.py|\.po)
pass_filenames: false
default_stages: [commit]