forked from praw-dev/praw
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
60 lines (51 loc) · 1.23 KB
/
.pre-commit-config.yaml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
hooks:
- id: end-of-file-fixer
exclude: .*\.txt
rev: v4.1.0
- repo: local
hooks:
- id: static_word_checks
args:
- '--replace'
entry: python -m tools.static_word_checks
language: system
name: Static Word Checks
pass_filenames: false
types: [ python ]
- id: check_documentation
entry: python -m tools.check_documentation
language: system
name: Check Documentation
pass_filenames: false
types: [ python ]
- repo: https://github.com/psf/black
hooks:
- id: black
rev: 21.12b0
- repo: https://github.com/LilSpazJoekp/docstrfmt
hooks:
- id: docstrfmt
require_serial: true
rev: v1.4.3
- repo: https://github.com/pycqa/flake8
hooks:
- id: flake8
rev: 4.0.1
- repo: https://github.com/ikamensh/flynt/
hooks:
- id: flynt
args:
- '-ll'
- '1000'
rev: '0.76'
- repo: https://github.com/pycqa/isort
hooks:
- id: isort
rev: 5.10.1
- repo: https://github.com/pycqa/pydocstyle
hooks:
- id: pydocstyle
files: praw/.*
rev: 6.1.1