-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
46 lines (40 loc) · 1.1 KB
/
.pre-commit-config.yaml
File metadata and controls
46 lines (40 loc) · 1.1 KB
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
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: check-merge-conflict
- id: check-json
- id: check-xml
- id: check-ast
- id: check-added-large-files
args: [ '--maxkb=200' ]
- repo: https://github.com/pre-commit/mirrors-autopep8
rev: v1.5.4
hooks:
- id: autopep8
- repo: https://github.com/Kintyre/ksconf
rev: v0.8.4
hooks:
- id: ksconf-check
- id: ksconf-sort
exclude: logging\.conf
- id: ksconf-xml-format
# Ensure 'mixed-line-ending' runs last. Other edit-in-place tools make result in the use of native EOL on Windows.
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
hooks:
- id: trailing-whitespace
exclude: README\.md
- id: end-of-file-fixer
exclude: (README\.md|\.bumpversion.cfg)$
- id: mixed-line-ending
args: [ '--fix=lf' ]
- repo: local
hooks:
- id: python-unittest
name: Run all unit tests for QuoLab Add-on for Splunk
language: system
entry: python -m unittest discover -s tests
types: [ python ]
pass_filenames: false