-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
55 lines (49 loc) · 1.01 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
[metadata]
name = mvg_variational_bayes
author = Christoph Lienhard
platforms = linux
keywords = test, unittest
[options]
packages =
mvg_variational_bayes
mvg_variational_bayes.helper_scripts
install_requires =
numpy~=1.0
matplotlib~=3.7.0
python_requires = >=3.8
package_dir =
=src
setup_requires =
setuptools
[options.extras_require]
dev =
black
flake8
mypy
pytest
isort
imageio~=2.0
[flake8]
# Style-related configurations
max-line-length = 120
extend-ignore = E203 # Ignore whitespace before ':' (conflicts with black)
[mypy]
# Type-checking configurations
python_version = 3.8
strict = True
warn_unused_ignores = True
disallow_any_generics = True
disallow_untyped_calls = True
disallow_untyped_defs = True
check_untyped_defs = True
no_implicit_optional = True
warn_redundant_casts = True
warn_return_any = True
warn_unused_configs = True
disallow_incomplete_defs = True
warn_incomplete_stub = True
show_error_codes = True
[tool:pytest]
addopts = --strict-markers
[isort]
profile = black