-
Notifications
You must be signed in to change notification settings - Fork 64
/
setup.cfg
82 lines (65 loc) · 1.57 KB
/
setup.cfg
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
71
72
73
74
75
76
77
78
79
80
81
82
# Helper file to handle all configs
[coverage:run]
# .coveragerc to control coverage.py and pytest-cov
# Omit the test directory from test coverage
omit =
*/tests/*
opt_einsum/_version.py
versioneer.py
[tool:isort]
line_length=120
include_trailing_comma=True
force_grid_wrap=0
use_parentheses=True
multi_line_output=3
[tool:pytest]
filterwarnings =
ignore::DeprecationWarning:tensorflow
ignore::DeprecationWarning:tensorboard
[flake8]
# Flake8, PyFlakes, etc
max-line-length = 119
dictionaries = en_US,python,technical
spellcheck-targets = comments
ignore = F401, # Imports, handled by autoflake
E203,
E225,
E226,
W605,
E501 # Lines, handled by black
[versioneer]
# Automatic version numbering scheme
VCS = git
style = pep440
versionfile_source = opt_einsum/_version.py
versionfile_build = opt_einsum/_version.py
tag_prefix = ''
[mypy]
#plugins = numpy.typing.mypy_plugin
follow_imports = normal
strict_optional = True
warn_redundant_casts = True
# no_implicit_reexport = True
warn_unused_configs = True
disallow_incomplete_defs = True
warn_unused_ignores = True
[mypy-opt_einsum.tests.*]
ignore_missing_imports = True
[mypy-opt_einsum._version]
ignore_errors = True
[mypy-autograd.*]
ignore_missing_imports = True
[mypy-cupy.*]
ignore_missing_imports = True
[mypy-tensorflow.*]
ignore_missing_imports = True
[mypy-tf.*]
ignore_missing_imports = True
[mypy-theano.*]
ignore_missing_imports = True
[mypy-torch.*]
ignore_missing_imports = True
[mypy-jax.*]
ignore_missing_imports = True
[mypy-xla.*]
ignore_missing_imports = True