-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (60 loc) · 1.23 KB
/
pyproject.toml
File metadata and controls
68 lines (60 loc) · 1.23 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
[project]
name = "ccy"
version = "2.0.0"
description = "Python currencies"
authors = [ { name = "Luca Sbardella", email = "luca@quantmind.com" } ]
license = { text = "BSD" }
readme = "readme.md"
requires-python = ">=3.11"
dependencies = [
"python-dateutil>=2.9.0",
"pycountry>=24.6.1",
"pydantic>=2.0",
"typing-extensions>=4.12",
]
[project.optional-dependencies]
cli = [
"click>=8.1.7",
"pandas>=3.0.1",
"rich>=13.7.1",
]
holidays = [
"holidays>=0.93",
]
[project.scripts]
ccys = "ccy.cli:ccys"
[dependency-groups]
dev = [
"black>=25.12.0",
"isort>=7.0.0",
"pytest-cov>=7.0.0",
"mypy>=1.14.1",
"ruff>=0.14.10",
"types-python-dateutil>=2.9.0.20241003",
]
book = [
"griffe-pydantic>=1.0",
"griffe-typingdoc>=0.2",
"mkdocs>=1.6",
"mkdocs-gen-files>=0.5",
"mkdocs-material>=9.0",
"mkdocstrings[python]>=0.25",
]
[build-system]
requires = [ "hatchling" ]
build-backend = "hatchling.build"
[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