forked from poswald/python-money
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (47 loc) · 1.3 KB
/
pyproject.toml
File metadata and controls
54 lines (47 loc) · 1.3 KB
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
[project]
name = "python-money"
version = "2.0.0"
description = "Primitives for working with money and currencies in Python"
readme = "README.md"
requires-python = ">=3.10"
license = {text = "BSD"}
authors = [{name = "Paul Oswald", email = "pauloswald@gmail.com"}]
keywords = ["money", "currency", "finance"]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Office/Business :: Financial",
]
dependencies = [
"django>=4.0.10, <=4.2.27",
]
[dependency-groups]
dev = [
"ruff==0.7.0",
"django-stubs[compatible-mypy]==4.2.0",
"mypy>=1.2.0,<1.3",
"psycopg2==2.9.9",
"pytest>=8.4.2",
"pytest-django>=4.11.1",
"pre-commit>=4.3.0",
"nox>=2025.11.12",
]
[tool.mypy]
plugins = ["mypy_django_plugin.main"]
strict = true
[[tool.mypy.overrides]]
module = "money.tests.test_money_operations"
disable_error_code = ["operator"]
[tool.django-stubs]
django_settings_module = "money.tests.settings"
[tool.setuptools.package-data]
money = ["py.typed"]
# Pytest configuration
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "money.tests.settings"
pythonpath = ["."]
python_files = ["test_*.py"]
testpaths = ["money/tests"]