-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (100 loc) · 2.76 KB
/
Copy pathpyproject.toml
File metadata and controls
114 lines (100 loc) · 2.76 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "opensalestax"
dynamic = ["version"]
description = "Python SDK for OpenSalesTax — calculate US sales tax via the v1 HTTP API"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE"]
requires-python = ">=3.9"
authors = [{ name = "Eric Osterberg", email = "ejosterberg@gmail.com" }]
keywords = ["opensalestax", "sales-tax", "tax-calculation", "sdk", "httpx", "pydantic"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Office/Business :: Financial :: Accounting",
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.27",
"pydantic>=2.5",
"eval_type_backport>=0.2; python_version < '3.10'",
]
[project.urls]
Homepage = "https://github.com/ejosterberg/opensalestax-python"
Repository = "https://github.com/ejosterberg/opensalestax-python"
Issues = "https://github.com/ejosterberg/opensalestax-python/issues"
Changelog = "https://github.com/ejosterberg/opensalestax-python/blob/main/CHANGELOG.md"
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"respx>=0.21",
"mypy>=1.10",
"ruff>=0.5",
"build>=1.0",
"twine>=5.0",
]
[tool.hatch.version]
path = "src/opensalestax/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/opensalestax"]
[tool.hatch.build.targets.sdist]
include = [
"src/opensalestax",
"tests",
"examples",
"README.md",
"LICENSE",
"CHANGELOG.md",
"CONTRIBUTING.md",
"SECURITY.md",
"pyproject.toml",
]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = [
"E", "W", "F", "I", "B", "C4", "UP", "SIM", "PT", "RUF",
]
ignore = ["E501"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
[tool.mypy]
python_version = "3.9"
strict = true
warn_unreachable = true
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_unimported = true
[[tool.mypy.overrides]]
module = "respx.*"
ignore_missing_imports = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra --strict-markers"
markers = [
"live: requires live engine at OST_BASE_URL (skipped unless RUN_LIVE_TESTS=1)",
]
[tool.coverage.run]
source = ["src/opensalestax"]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"if TYPE_CHECKING:",
"\\.\\.\\.",
]