-
Notifications
You must be signed in to change notification settings - Fork 8
/
.pre-commit-config.yaml
31 lines (30 loc) · 1.04 KB
/
.pre-commit-config.yaml
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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-json
- id: check-merge-conflict
# avoid false positives for reStructuredText titles
exclude_types: [rst, plain-text]
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-xml
- id: check-yaml
- id: debug-statements
- id: destroyed-symlinks
- id: end-of-file-fixer
exclude: python/soma_workflow/test/data/jobExamples/complete/.*(file|stdin|stdout)
- id: fix-byte-order-marker
- id: fix-encoding-pragma
# - id: trailing-whitespace # not ready yet
# exclude: python/soma_workflow/test/data/jobExamples/complete/.*(file|stdin|stdout)
- repo: https://github.com/pycqa/flake8
rev: 7.1.1
hooks:
- id: flake8
name: flake8 under python3
language_version: python3
exclude: ^doc/sphinx/sphinxext/