Files
rocm-systems/projects/rocprofiler-compute/.pre-commit-config.yaml
T

20 lines
535 B
YAML
Raw Normal View History

2025-01-02 13:29:47 -08:00
default_stages: [pre-commit]
fail_fast: true
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
2025-01-02 13:29:47 -08:00
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
# Python import sorting
- repo: https://github.com/pycqa/isort
rev: 6.0.1
2025-01-02 13:29:47 -08:00
hooks:
- id: isort
# Python formatting (Using this mirror lets us use mypyc-compiled black, which is about 2x faster)
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.1.0
2025-01-02 13:29:47 -08:00
hooks:
- id: black