-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmypy.ini
More file actions
36 lines (31 loc) · 873 Bytes
/
mypy.ini
File metadata and controls
36 lines (31 loc) · 873 Bytes
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
[mypy]
# Specify the files and directories to be checked ** please keep sorted **
files =
./ch02_perceptron
./ch03_network_forward
./ch04_network_learning
./ch05_backpropagation
namespace_packages = True
follow_imports = silent
no_implicit_optional = True
warn_unused_ignores = False
warn_redundant_casts = True
disallow_any_generics = True
disallow_untyped_defs = True
disallow_incomplete_defs = True
check_untyped_defs = True
warn_return_any = True
strict_optional = True
# Exclude patterns ** please keep sorted **
exclude = (?x)dataset/mnist\.py$
# list external modules with no typing below ** please keep sorted **
[mypy-numpy.*]
ignore_missing_imports = True
[mypy-pytest.*]
ignore_missing_imports = True
[mypy-scipy.*]
ignore_missing_imports = True
[mypy-tqdm.*]
ignore_missing_imports = True
[mypy-torchvision.*]
ignore_missing_imports = True