-
Notifications
You must be signed in to change notification settings - Fork 87
/
Copy pathmypy.ini
61 lines (40 loc) · 1.84 KB
/
mypy.ini
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
# Copied from pytorch/mypy-strict.ini
[mypy]
python_version = 3.9
show_error_codes = True
show_column_numbers = True
files =
torchci/scripts/reverts.py
[mypy-.github.scripts.get_tutorials_stats]
disable_error_code = attr-defined, return-value
[mypy-.github.scripts.run_with_env_secrets]
disable_error_code = attr-defined, return-value, union-attr
[mypy-aws.lambda.whl_metadata_upload_pep658.lambda_function]
disable_error_code = unused-ignore, import-not-found
[mypy-tools.*]
disable_error_code = import-not-found
[mypy-tools.torchci.*]
disable_error_code = var-annotated, import-not-found, no-untyped-def, unused-ignore
[mypy-tools.torchci.utils]
[mypy-tools.torchci.td.*]
disable_error_code = misc
[mypy-tools.torchci.queue_alert]
disable_error_code = assignment
[mypy-tools.torchci.check_alerts]
disable_error_code = no-any-return, assignment, type-arg, arg-type, return-value, attr-defined
[mypy-tools.torchci.github_analyze]
disable_error_code = no-any-return, union-attr, call-overload, return-value, comparison-overlap
[mypy-tools.stronghold.src.api.compatibility]
disable_error_code = return-value
[mypy-tools.stronghold.tests.*]
disable_error_code = misc, return-value
[mypy-tools.self_hosted_runner_utils.*]
disable_error_code = no-any-return, no-untyped-def, no-untyped-call, import-not-found, import-untyped
[mypy-tools.self_hosted_runner_utils.check_runners_state_org]
disable_error_code = no-any-return, no-untyped-def, no-untyped-call, import-not-found, import-untyped
[mypy-tools.scripts.*]
disable_error_code = var-annotated, import-untyped
[mypy-tools.pkg-helpers.*]
disable_error_code = index, no-redef, no-untyped-def, import-not-found, no-untyped-call
[mypy-tools.rockset_migration.*]
disable_error_code = arg-type, attr-defined, return-value, misc, func-returns-value, no-untyped-def, assignment, var-annotated, unused-ignore, truthy-function