-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmypy.ini
More file actions
70 lines (52 loc) · 1.48 KB
/
mypy.ini
File metadata and controls
70 lines (52 loc) · 1.48 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[mypy]
python_version = 3.10
strict = true
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
explicit_package_bases = true
exclude = build/
# Globally disable warn_unused_ignores to prevent errors in CI vs Local
warn_unused_ignores = false
# Ignore BaseModel inheritance issues since app.models is mocked
[mypy-forgesyte_motion.plugin]
disallow_subclassing_any = false
[mypy-forgesyte_ocr.plugin]
disallow_subclassing_any = false
[mypy-forgesyte_plugin_template.plugin]
disallow_subclassing_any = false
[mypy-forgesyte_moderation.plugin]
disallow_subclassing_any = false
[mypy-forgesyte_block_mapper.plugin]
disallow_subclassing_any = false
# Ignore untyped decorators for pytest fixtures
[mypy-tests.*]
disallow_untyped_decorators = false
[mypy-conftest]
disallow_untyped_decorators = false
[mypy-*.conftest]
disallow_untyped_decorators = false
[mypy-forgesyte_ocr.*]
disallow_subclassing_any = false
disallow_untyped_decorators = false
# YOLO Tracker Configuration - Ignore completely for now
[mypy-forgesyte_yolo_tracker.*]
ignore_errors = True
[mypy-forgesyte_yolo_tracker]
ignore_errors = True
# Also match 'src' prefix if mypy sees it that way
[mypy-src.*]
ignore_errors = True
[mypy-tests_heavy.*]
ignore_errors = True
[mypy-tests_contract.*]
ignore_errors = True
[mypy-sklearn.*]
ignore_missing_imports = true
[mypy-umap]
ignore_missing_imports = true
[mypy-torch.*]
follow_imports = skip
ignore_missing_imports = true
[mypy-yaml.*]
ignore_missing_imports = true