mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
16 lines
668 B
YAML
16 lines
668 B
YAML
repos:
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v2.1.0 # Use the ref you want to point at
|
|
hooks:
|
|
- id: check-executables-have-shebangs
|
|
exclude: 'package/bin/da_ess_contentupdate/|package/bin/splunklib/|venv/'
|
|
- id: check-json
|
|
- id: check-symlinks
|
|
- id: check-yaml
|
|
- id: pretty-format-json
|
|
args: [--autofix]
|
|
- id: flake8
|
|
args: [--max-line-length=131]
|
|
exclude: 'package/bin/da_ess_contentupdate/|package/bin/splunklib/|venv/|package/bin/escu_contextualize.py|package/bin/escu_investigate.py|package/bin/runstory.py|package/bin/detect.py|package/bin/investigate.py'
|
|
- id: requirements-txt-fixer
|