-
Notifications
You must be signed in to change notification settings - Fork 518
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
39 lines (39 loc) · 1.74 KB
/
Copy path.pre-commit-config.yaml
File metadata and controls
39 lines (39 loc) · 1.74 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
default_language_version:
python: python3.11
repos:
- repo: https://github.com/pycqa/flake8.git
rev: 7.3.0
hooks:
- id: flake8
exclude: ^(thirdparty/|examples/|tests/|projects/agent_skills/|projects/fin_research/examples/|ms_agent/utils/prompts\.py)
- repo: https://github.com/PyCQA/isort.git
rev: 5.13.2
hooks:
- id: isort
exclude: ^(examples/|projects/fin_research/examples/|projects/agent_skills/|tests/)
- repo: https://github.com/pre-commit/mirrors-yapf.git
rev: v0.32.0
hooks:
- id: yapf
exclude: ^(thirdparty/|examples/|projects/fin_research/examples/|projects/agent_skills/|tests/)
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v5.0.0
hooks:
- id: trailing-whitespace
exclude: ^(thirdparty/|tests/|projects/fin_research/examples/|projects/agent_skills/)
- id: check-yaml
exclude: ^(thirdparty/|tests/|projects/fin_research/examples/|projects/agent_skills/)
- id: end-of-file-fixer
exclude: ^(thirdparty/|tests/|projects/fin_research/examples/|projects/agent_skills/)
- id: requirements-txt-fixer
exclude: ^(thirdparty/|tests/|projects/fin_research/examples/|projects/agent_skills/)
- id: double-quote-string-fixer
exclude: ^(thirdparty/|tests/|projects/fin_research/examples/|projects/agent_skills/)
- id: check-merge-conflict
exclude: ^(thirdparty/|tests/|projects/agent_skills/)
- id: fix-encoding-pragma
exclude: ^(thirdparty/|tests/|projects/fin_research/examples/|projects/agent_skills/)
args: ["--remove"]
- id: mixed-line-ending
exclude: ^(thirdparty/|tests/|projects/fin_research/examples/|projects/agent_skills/)
args: ["--fix=lf"]