cti-python-stix2/.pre-commit-config.yaml

26 lines
669 B
YAML
Raw Normal View History

repos:
2017-03-22 14:11:16 +01:00
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
2017-03-22 14:11:16 +01:00
hooks:
- id: trailing-whitespace
- id: check-merge-conflict
- repo: https://github.com/asottile/add-trailing-comma
2021-01-13 23:49:26 +01:00
rev: v2.0.2
hooks:
- id: add-trailing-comma
- repo: https://github.com/PyCQA/flake8
rev: 3.8.4
hooks:
- id: flake8
name: Check project styling
args:
- --max-line-length=160
- repo: https://github.com/PyCQA/isort
rev: 5.7.0
2017-07-13 19:30:21 +02:00
hooks:
- id: isort
name: Sort python imports (shows diff)
args: ["-c", "--diff"]
- id: isort
name: Sort python imports (fixes files)