-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.cfg
98 lines (86 loc) · 2.16 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[metadata]
name = injected
version = attr: injected.__version__
description = Simple, type-safe dependency injection
long_description = file: README.md
long_description_content_type = text/markdown; charset=UTF-8
license = BSD 3-Clause License
license_file = LICENSE
classifiers =
Intended Audience :: Developers
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Development Status :: 4 - Beta
author = Anton Agestam
author_email = [email protected]
url = https://github.com/antonagestam/injected/
[options]
include_package_data = True
package_dir =
=src
packages = find:
python_requires = >=3.10
install_requires =
immutables>=0.17
[options.packages.find]
where = src
[options.package_data]
phantom = py.typed
[options.extras_require]
test =
mypy
pytest
pytest-mypy-plugins
pytest-asyncio
pytest-markdown
pytest-random-order
coverage
[flake8]
exclude = appveyor,.idea,.git,.venv,.tox,__pycache__,*.egg-info,build
max-complexity = 8
max-line-length = 88
# B008: It's ok to instantiate instances as defaults.
# E203: Black does the right thing, flake8 doesn't.
extend-ignore = E203 B008
[isort]
profile = black
src_paths = src, tests
force_single_line = True
[mypy]
python_version = 3.10
show_error_codes = True
pretty = True
files = src, tests
ignore_missing_imports = False
no_implicit_reexport = True
no_implicit_optional = True
strict_equality = True
strict_optional = True
check_untyped_defs = True
disallow_incomplete_defs = True
disallow_untyped_defs = True
disallow_untyped_calls = True
disallow_untyped_decorators = True
disallow_subclassing_any = True
warn_unused_configs = True
warn_redundant_casts = True
warn_unused_ignores = True
warn_return_any = True
warn_unreachable = True
[mypy-tests.*]
disallow_untyped_defs = False
disallow_incomplete_defs = False
[coverage:run]
source = src
branch = True
[coverage:report]
skip_covered = True
show_missing = True
exclude_lines =
pragma: no cover
# ignore non-implementations
^\s*\.\.\.