-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathty.toml
More file actions
42 lines (36 loc) · 1.21 KB
/
ty.toml
File metadata and controls
42 lines (36 loc) · 1.21 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
40
41
42
[environment]
extra-paths = ["./gguf-py", "./examples/model-conversion/scripts", "./tools/server/tests", "./scripts/snapdragon/qdc/tests"]
python-version = "3.10"
[rules]
deprecated = "warn"
[src]
exclude = [
"./tools/mtmd/legacy-models/**",
]
[[overrides]]
include = [
"./tools/server/tests/**",
"./scripts/snapdragon/qdc/**",
# tools/kokoro tooling imports the upstream `kokoro` Python package
# for reference-activation dumping; that package isn't in CI, so the
# type-checker can't resolve it. It runs only against an installed
# kokoro env, not under CI.
"./tools/kokoro/tools/**",
# conversion/* defines mixins (e.g. _Qwen35MtpMixin) whose super()
# chains resolve to attributes provided by the composed Model
# subclasses in convert_hf_to_gguf.py. ty cannot see that
# composition at the mixin level, so the super() calls and
# base-class attributes (ftype, metadata) appear unresolved.
"./conversion/**",
]
[overrides.rules]
unresolved-reference = "ignore"
unresolved-import = "ignore"
unresolved-attribute = "ignore"
[[overrides]]
include = [
"./examples/pydantic_models_to_grammar.py",
]
[overrides.rules]
unsupported-operator = "ignore"
not-subscriptable = "ignore"