-
Notifications
You must be signed in to change notification settings - Fork 23
/
pyproject.toml
75 lines (58 loc) · 1.34 KB
/
pyproject.toml
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
[tool.poetry]
name = "ccy"
version = "1.6.0"
description = "Python currencies"
authors = ["Luca Sbardella <[email protected]>"]
license = "BSD"
readme = "readme.md"
packages = [
{ include = "ccy" }
]
[tool.poetry.dependencies]
python = ">=3.10"
python-dateutil = "^2.9.0"
pycountry = "^24.6.1"
rich = {version = "^13.7.1", optional = true}
click = {version = "^8.1.7", optional = true}
pandas = {version = "^2.0.3", optional = true}
[tool.poetry.group.dev.dependencies]
black = "^24.3.0"
isort = "^5.10.1"
pytest-cov = "^5.0.0"
mypy = "^1.13.0"
ruff = "^0.7.1"
types-python-dateutil = "^2.9.0.20241003"
[tool.poetry.extras]
cli = ["rich", "click", "pandas"]
[tool.poetry.group.book]
optional = true
[tool.poetry.group.book.dependencies]
jupyter-book = "^1.0.3"
jupyterlab = "^4.0.3"
jupytext = "^1.14.7"
ghp-import = "^2.1.0"
[tool.poetry.scripts]
ccys = "ccy.cli:ccys"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.jupytext]
formats = "ipynb,myst"
[tool.isort]
profile = "black"
[tool.ruff]
lint.select = ["E", "F"]
line-length = 88
[tool.mypy]
disallow_untyped_calls = true
disallow_untyped_defs = true
warn_no_return = true
[[tool.mypy.overrides]]
module = [
"pycountry.*",
"pandas.*",
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "ccy.tradingcentres.*"
ignore_errors = true