File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 5
5
hooks :
6
6
# Run the linter.
7
7
- id : ruff
8
- args : [ --fix ]
8
+ args : [--fix]
9
9
# Run the formatter.
10
- - id : ruff-format
10
+ - id : ruff-format
11
+
12
+ - repo : https://github.com/pre-commit/mirrors-mypy
13
+ rev : v1.9.0
14
+ hooks :
15
+ - id : mypy
16
+ additional_dependencies :
17
+ - pydantic>=2,<3.0.0
18
+ - langchain_core
19
+ - langchain_anthropic
20
+ - langchain_openai
21
+ - langchain_google_genai
22
+ files : ^(src/controlflow/llm/models.py)$
23
+ args : [--strict]
Original file line number Diff line number Diff line change
1
+ [mypy]
2
+ strict =true
3
+ follow_imports = skip
4
+ files = ' src/controlflow/llm/models.py' , ' tests/llm/test_models.py'
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ dev = [
57
57
" pre-commit" ,
58
58
" ruff>=0.3.4" ,
59
59
" textual-dev" ,
60
+ " mypy" ,
60
61
]
61
62
62
63
[build-system ]
You can’t perform that action at this time.
0 commit comments