-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
34 lines (32 loc) · 874 Bytes
/
Copy path.pre-commit-config.yaml
File metadata and controls
34 lines (32 loc) · 874 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
31
32
33
34
- repo: git@github.com:asottile/reorder_python_imports
sha: v0.3.0
commit_stage: [commit]
hooks:
- id: reorder-python-imports
stages: commit_stage
- repo: git://github.com/pre-commit/pre-commit-hooks
sha: v0.6.0
commit_stage: [commit]
hooks:
- id: trailing-whitespace
- id: check-ast
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: debug-statements
#- id: detect-aws-credentials
- id: detect-private-key
- id: double-quote-string-fixer
- id: end-of-file-fixer
- id: fix-encoding-pragma
- id: flake8
stages: commit_stage
- repo: local
push_stage: [push]
hooks:
- id: check-tox
name: Tox Tests
entry: python -m tox
stages: push_stage
language: system
files: \.py$