-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
39 lines (38 loc) · 1.5 KB
/
.pre-commit-config.yaml
File metadata and controls
39 lines (38 loc) · 1.5 KB
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
32
33
34
35
36
37
38
39
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: check-toml
- id: check-yaml
- id: no-commit-to-branch # Protects master branch by default
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/PyCQA/isort
rev: 8.0.1
hooks:
- id: isort
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 26.3.1
hooks:
- id: black
args: [--safe, --quiet]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
exclude: |
(?x)^(
examples|
packages/python-ta/tests/fixtures/|
packages/python-ta/tests/test_debug/snapshot_testing_snapshots|
packages/python-ta/tests/test_debug/snapshot_tracer_testing_snapshots|
packages/python-ta/tests/test_reporters/snapshots/test_html_server/test_no_watch_server_is_non_persistent/no_watch_html_server_snapshot.html|
packages/python-ta/tests/test_reporters/snapshots/test_html_server/test_watch_persistence/watch_html_server_snapshot.html|
packages/python-ta/tests/test_reporters/snapshots/test_html_reporter/test_injection/script_injection.html|
packages/python-ta/tests/test_reporters/snapshots/test_html_reporter/test_markdown_escape/markdown_escape.html|
packages/python-ta/tests/test_reporters/snapshots/test_html_server/test_watch_update/
)
ci:
autoupdate_schedule: quarterly