mypy.ini 528 Bytes
Newer Older
1
[mypy]
2
python_version = 3.8
3
4
5
6
7
8
9
10
11
show_traceback = True
check_untyped_defs = True
no_implicit_reexport = True
warn_unreachable = True
warn_unused_configs = True
warn_unused_ignores = True
warn_redundant_casts = True

# We ignore errors everywhere to gradually add type annotations
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# [mypy-lm_eval.*]
# ignore_errors = True
#
# [mypy-lm_eval.api.*]
# ignore_errors = True
#
# [mypy-lm_eval.prompts.*]
# ignore_errors = True
#
# [mypy-lm_eval.models.*]
# ignore_errors = True
#
# [mypy-scripts.*]
# ignore_errors = True
#
# [mypy-main]