-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (67 loc) · 1.57 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (67 loc) · 1.57 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
[project]
name = "bbor_client"
version = "1.0.0"
description = "A python client library for the BBO-Rietveld API server"
readme = "README.md"
license = {file = "LICENSE"}
authors = [
{ name = "suzukikensuke1", email = "[email protected]" }
]
requires-python = ">=3.11"
dependencies = [
"pandas>=2.3.3",
"pydantic>=2.11.7",
"pymongo>=4.15.5",
"python-abc>=0.2.0",
"requests>=2.32.4",
]
[project.optional-dependencies]
parsexml = [
"xmltodict>=0.14.2",
]
GSAS-II = [
"gitpython>=3.1.45",
"numpy<2.0 ; python_version <= '3.11'",
"numpy>=2.0 ; python_version > '3.11'",
"pycifrw>=5.0.1",
"scipy>=1.16.3",
]
[dependency-groups]
dev = [
"bandit>=1.8.6",
"ipykernel>=6.29.5",
"pip-audit>=2.9.0",
"pytest>=8.4.1",
"python-semantic-release>=10.5.2",
"ruff>=0.14.5",
]
# Building
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
sources = ['src']
include = [
"src/**",
"README.md",
"LICENSE",
]
exclude = [
"tests/**",
"uv.lock",
".python-version",
"*.pyc",
"__pycache__/**",
"CHANGELOG.md",
]
# Semantic release
[tool.semantic_release]
version_toml = ["pyproject.toml:project.version"]
[tool.semantic_release.commit_parser_options]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]
other_allowed_tags = ["build", "chore", "ci", "docs", "style", "refactor", "test"]
allowed_tags = ["feat", "fix", "perf", "build", "chore", "ci", "docs", "style", "refactor", "test"]
default_bump_level = 0
parse_squash_commits = true
ignore_merge_commits = false