forked from elastic/detection-rules
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
26 lines (26 loc) · 759 Bytes
/
.pre-commit-config.yaml
File metadata and controls
26 lines (26 loc) · 759 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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks:
- id: flake8
args: ['--ignore=D203,C901,E501,W503', '--max-line-length=120','--max-complexity=10', '--statistics']
exclude: '^kql'
- repo: https://github.com/PyCQA/bandit
rev: 1.7.4
hooks:
- id: bandit
args: ['-s', 'B101,B603,B404,B607']
exclude: '^kql'
# Potential future rigor
# - repo: https://github.com/PyCQA/pylint
# rev: v2.15.6
# hooks:
# - id: pylint
# language: system
# exclude: '^kql'
# - repo: https://github.com/PyCQA/isort
# rev: 5.10.1
# hooks:
# - id: isort