Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
62 lines (54 loc) · 1.76 KB
/
Copy pathpyproject.toml
File metadata and controls
62 lines (54 loc) · 1.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
[project]
name = "ideal-postcodes"
version = "0.4.0"
description = "Explicit Python client for Ideal Postcodes"
readme = "README.md"
requires-python = ">=3.12"
license = "LicenseRef-Proprietary"
license-files = ["LICENSE"]
authors = [{ name = "Ideal Postcodes", email = "[email protected]" }]
keywords = ["address", "postcode", "address-lookup", "address-autocomplete", "uk"]
classifiers = [
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Typing :: Typed",
]
dependencies = ["httpx>=0.27,<1", "pydantic>=2.10,<3"]
[project.urls]
Homepage = "https://ideal-postcodes.co.uk"
Documentation = "https://docs.ideal-postcodes.co.uk/docs/sdks/python"
Repository = "https://github.com/ideal-postcodes/feedback"
Issues = "https://github.com/ideal-postcodes/feedback/issues"
[build-system]
requires = ["uv_build==0.13.10"]
build-backend = "uv_build"
# Secure Development Policy Section 6: never resolve a release under 24 hours old.
[tool.uv]
# The one uv version, for local runs and CI (setup-uv reads it). Bump with build-system uv_build.
required-version = "==0.13.9"
exclude-newer = "1 day"
[tool.uv.build-backend]
module-name = "ideal_postcodes"
module-root = ""
[dependency-groups]
dev = [
"datamodel-code-generator==0.100.0",
"jsonschema==4.26.0",
"pyright==1.1.414",
"pytest==9.2.0",
"ruff==0.17.6",
]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["F", "I", "UP"]
[tool.pyright]
typeCheckingMode = "strict"
include = ["ideal_postcodes", "tests", "examples"]
[tool.pytest.ini_options]
addopts = "-m 'not e2e'"
markers = ["e2e: opt-in live API tests against built wheels"]
pythonpath = ["."]
testpaths = ["tests", "../../sdk-tools/python/tests"]