forked from pytorch/pytorch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mypy-nofollow.ini
45 lines (34 loc) · 921 Bytes
/
mypy-nofollow.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
[mypy]
plugins = mypy_plugins/check_mypy_version.py, numpy.typing.mypy_plugin
cache_dir = .mypy_cache/nofollow
allow_redefinition = True
warn_unused_configs = True
warn_redundant_casts = True
show_error_codes = True
show_column_numbers = True
check_untyped_defs = True
follow_imports = skip
# do not reenable this:
# https://github.com/pytorch/pytorch/pull/60006#issuecomment-866130657
warn_unused_ignores = False
disallow_any_generics = True
files =
torch/_dynamo,
test/test_utils.py
# Minimum version supported - variable annotations were introduced
# in Python 3.8
python_version = 3.8
[mypy-deeplearning.*]
ignore_missing_imports = True
[mypy-sympy]
ignore_missing_imports = True
[mypy-sympy.*]
ignore_missing_imports = True
[mypy-torch._C]
ignore_errors = True
[mypy-torch._C.*]
ignore_errors = True
[mypy-torchvision.*]
ignore_missing_imports = True
[mypy-triton.*]
ignore_missing_imports = True