forked from Aider-AI/aider
-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
32 lines (32 loc) · 929 Bytes
/
.pre-commit-config.yaml
File metadata and controls
32 lines (32 loc) · 929 Bytes
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
repos:
- repo: https://github.com/PyCQA/isort
rev: 9.0.0a3
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/psf/black
rev: 26.3.1
hooks:
- id: black
args: ["--line-length", "100", "--preview"]
- repo: https://github.com/pycqa/flake8
rev: 7.3.0
hooks:
- id: flake8
args: ["--show-source"]
- repo: https://github.com/codespell-project/codespell
rev: v2.4.2
hooks:
- id: codespell
args: ["--skip", "cecli/website/docs/languages.md"]
additional_dependencies:
- tomli
- repo: local
hooks:
- id: filter-model-metadata
name: Filter model metadata to chat mode only
entry: node scripts/filter-chat-mode.js
args: ["cecli/resources/model-metadata.json"]
language: system
files: ^cecli/resources/model-metadata\.json$
pass_filenames: false