Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
129 lines (116 loc) · 2.86 KB
/
Copy pathpyproject.toml
File metadata and controls
129 lines (116 loc) · 2.86 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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[build-system]
build-backend = "mesonpy"
requires = [
"meson-python>=0.15.0",
"Cython>=3.0.9",
"numpy>=1.23.5",
]
[project]
name = "numpy-financial"
dynamic = ['version']
requires-python = ">=3.13"
description = "Simple financial functions"
license = "BSD-3-Clause"
authors = [{name = "Travis E. Oliphant et al."}]
maintainers = [{ name = "Numpy Financial Developers", email = "numpy-discussion@python.org" }]
readme = "README.md"
homepage = "https://numpy.org/numpy-financial/latest/"
repository = "https://github.com/numpy/numpy-financial"
documentation = "https://numpy.org/numpy-financial/latest/#functions"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Software Development",
"Topic :: Office/Business :: Financial :: Accounting",
"Topic :: Office/Business :: Financial :: Investment",
"Topic :: Office/Business :: Financial :: Spreadsheet",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Typing :: Typed",
]
dependencies = [
"numpy>=1.23.5"
]
[project.optional-dependencies]
test = [
"pytest",
"pytest-xdist",
"hypothesis",
]
doc = [
"sphinx>=7.0",
"numpydoc>=1.5",
"pydata-sphinx-theme>=0.15",
"myst-parser>=2.0.0",
]
dev = [
"spin",
"ruff>=0.11.5",
"asv>=0.6.0",
"mypy",
"pyright"
]
[tool.mypy]
exclude = [
"^benchmarks/.*",
"^doc/.*",
"^docweb/.*",
"^numpy_financial/tests/.*",
]
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
local_partial_types = true
warn_unreachable = false
warn_unused_ignores = true
strict_bytes = true
[tool.pyright]
pythonPlatform = "All"
include = ["numpy_financial"]
exclude = [
"benchmarks",
"doc",
"docweb",
"numpy_financial/tests",
]
stubPath = "."
typeCheckingMode = "standard"
# _cfinancial is a Cython extension, so we only have a .pyi stub
reportMissingModuleSource = "none"
[tool.spin]
package = 'numpy_financial'
[tool.spin.commands]
"Build" = [
"spin.cmds.meson.build",
"spin.cmds.meson.test",
"spin.cmds.build.sdist",
"spin.cmds.pip.install",
]
"Documentation" = [
"spin.cmds.meson.docs"
]
"Benchmarks" = [
".spin/cmds.py:bench"
]
"Environments" = [
"spin.cmds.meson.shell",
"spin.cmds.meson.ipython",
"spin.cmds.meson.python",
"spin.cmds.meson.run"
]
"Lint" = [
".spin/cmds.py:lint"
]
[tool.cibuildwheel]
build = "cp313-* cp314-*"
skip = "*-musllinux* *_i686 *-win32"
test-command = "python -c \"import numpy_financial\""
[tool.changelist]
title_template = "{version}"
ignored_user_logins = ["dependabot[bot]", "pre-commit-ci[bot]", "web-flow"]
[tool.ruff.lint]
ignore = ["F403"]
select = ["E", "F", "B", "I"]