-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
111 lines (97 loc) · 2.51 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
99
100
101
102
103
104
105
106
107
108
109
110
111
[metadata]
name = immoney
version = attr: immoney.__version__
description = Immutable money types for Python
long_description = file: README.md
long_description_content_type = text/markdown; charset=UTF-8
license = BSD 3-Clause License
license_files = 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
Programming Language :: Python :: 3.12
Development Status :: 4 - Beta
Typing :: Typed
author = Anton Agestam
author_email = git@antonagestam.se
url = https://github.com/antonagestam/immoney/
[options]
include_package_data = True
package_dir =
=src
packages = find:
python_requires = >=3.10
install_requires =
typing-extensions>=4.6.3
abcattrs>=0.3.2
[options.packages.find]
where = src
[options.package_data]
immoney = py.typed
[options.extras_require]
pydantic =
pydantic>=2.0.3
babel =
babel>=2.12.1
test =
pytest
coverage
hypothesis
[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.
# B019: This is the point of caching ...
# B024: Abstract base classes should not be expected to introduce abstract methods.
extend-ignore = E203 B008 B019 B024
[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_untyped_calls = False
disallow_any_expr = False
disallow_untyped_decorators = 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*\.\.\.
^\s*if TYPE_CHECKING:$
^\s*case no_match:$
^\s*assert_never\(