/
setup.cfg
113 lines (101 loc) · 2.55 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
112
113
[metadata]
name = py-moneyed
version = 3.0
description = Provides Currency and Money classes for use in your Python code.
long_description = file: README.rst
long_description_content_type = text/x-rst
author = Kai
author_email = k@limist.com
maintainer = Dmitry Dygalo
maintainer_email = dadygalo@gmail.com
keywords = money currency class abstraction
license = BSD
platforms = any
classifiers =
Programming Language :: Python
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
License :: OSI Approved :: BSD License
Operating System :: OS Independent
Development Status :: 6 - Mature
Environment :: Other Environment
Intended Audience :: Developers
Topic :: Office/Business :: Financial
Topic :: Software Development :: Libraries :: Python Modules
project_urls =
Homepage = http://github.com/py-moneyed/py-moneyed
Documentation = https://py-moneyed.readthedocs.io/en/latest/
[options]
packages = find:
package_dir =
=src
include_package_data = True
python_requires = >=3.8
install_requires =
babel>=2.8.0
typing-extensions>=3.7.4.3
[options.packages.find]
where = src
[options.extras_require]
tests =
pytest>=2.3.0
tox>=1.6.0
type-tests =
pytest>=2.3.0
pytest-mypy-plugins
mypy>=1.9.0
[flake8]
max-line-length = 119
enable-extensions = TC, TC1
per-file-ignores =
src/moneyed/__init__.py:F403,F401
src/moneyed/classes.py:E704
ignore =
# W503 - Incompatible with Black
W503,
# SIM106 - Ignore error cases first
SIM106,
[isort]
profile = black
[tool:pytest]
addopts = --doctest-modules --doctest-glob='*.rst' -Werror
python_files =
test_*.py
*_test.py
tests.py
testpaths =
tests
norecursedirs =
.git
.tox
dist
build
.mypy_cache
[mypy]
python_version = 3.8
show_error_codes = True
pretty = True
files = src/, tests/
ignore_missing_imports = False
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.test_l10n]
disallow_untyped_defs = False
[mypy-babel.*]
ignore_missing_imports = True