-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (72 loc) · 2.07 KB
/
Copy pathpyproject.toml
File metadata and controls
81 lines (72 loc) · 2.07 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "haystack-unirate"
version = "0.1.0"
description = "Haystack integration for the UniRate currency-exchange API — components for FX rate lookups, conversion, and currency listings in Haystack pipelines."
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [{ name = "Unirate Team" }]
keywords = [
"unirate",
"haystack",
"currency",
"exchange-rates",
"fintech",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Office/Business :: Financial",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"haystack-ai>=2.0.0,<3.0",
"requests>=2.31,<3.0",
]
[project.urls]
Homepage = "https://github.com/UniRate-API/haystack-unirate"
Repository = "https://github.com/UniRate-API/haystack-unirate"
Issues = "https://github.com/UniRate-API/haystack-unirate/issues"
Provider = "https://unirateapi.com"
[dependency-groups]
test = [
"pytest>=8.0,<9.0",
"requests-mock>=1.11,<2.0",
]
lint = [
"ruff>=0.6,<1.0",
]
typing = [
"mypy>=1.10,<2.0",
"types-requests>=2.31,<3.0",
]
[tool.hatch.build.targets.wheel]
packages = ["haystack_unirate"]
[tool.ruff]
target-version = "py310"
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "RUF"]
[tool.mypy]
# numpy 2.x stubs (a transitive haystack-ai dep) use Python 3.12 `type`
# syntax, so mypy must run as 3.12 and skip following into numpy.
python_version = "3.12"
disallow_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = ["numpy.*"]
follow_imports = "skip"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"