-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (77 loc) · 2.2 KB
/
pyproject.toml
File metadata and controls
90 lines (77 loc) · 2.2 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "finwise-python"
version = "3.0.0"
description = "Unofficial Python SDK for the FinWise API"
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
authors = [{ name = "Rameez Khan" }]
keywords = ["finwise", "api", "sdk", "finance", "banking", "budgeting"]
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.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Typing :: Typed",
"Topic :: Office/Business :: Financial",
]
dependencies = [
"httpx>=0.25.0,<1.0.0",
"pydantic>=2.0.0,<3.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"respx>=0.20.0",
"mypy>=1.0.0",
"ruff>=0.1.0",
]
docs = [
"mkdocs>=1.5.0",
"mkdocs-material>=9.0.0",
]
[project.urls]
Homepage = "https://github.com/rameezk/finwise-python"
Documentation = "https://rameezk.github.io/finwise-python"
Repository = "https://github.com/rameezk/finwise-python"
"Official API Docs" = "https://finwiseapp.io/docs/api"
[tool.hatch.build.targets.wheel]
packages = ["src/finwise"]
[tool.ruff]
line-length = 88
target-version = "py311"
src = ["src", "tests"]
[tool.ruff.lint]
select = ["E", "W", "F", "I", "B", "C4", "UP"]
ignore = ["E501", "UP045"]
[tool.ruff.lint.isort]
known-first-party = ["finwise"]
[tool.mypy]
python_version = "3.11"
strict = true
warn_return_any = true
warn_unused_configs = true
plugins = ["pydantic.mypy"]
[[tool.mypy.overrides]]
module = "tests.*"
disallow_untyped_defs = false
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-v --tb=short"
[tool.coverage.run]
source = ["src/finwise"]
branch = true
[tool.semantic_release]
version_toml = ["pyproject.toml:project.version"]
version_variables = ["src/finwise/_version.py:__version__"]
tag_format = "v{version}"
commit_message = "chore(release): bump version to {version}"
commit_author = "github-actions[bot] <github-actions[bot]@users.noreply.github.com>"