forked from gmr/flatdict
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
154 lines (132 loc) · 3.79 KB
/
Copy pathpyproject.toml
File metadata and controls
154 lines (132 loc) · 3.79 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
[project]
name = "cj365-flatdict"
version = "5.0.1"
description = "Python module for interacting with nested dicts as a single level dict with delimited keys."
requires-python = "~= 3.8"
classifiers = [
"Topic :: Software Development :: Libraries",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"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",
"Programming Language :: Python :: 3.14",
]
readme = "README.rst"
license = "BSD-3-Clause"
license-files = ["LICENSE"]
authors = [
{ name = "codejedi365", email = "codejedi365+flatdictpy@gmail.com" },
{ name = "Dennis Henry", email = "auruspex@gmail.com" },
{ name = "Gavin M. Roy", email = "gavinmroy@gmail.com" },
]
maintainers = [{ name = "codejedi365", email = "codejedi365+flatdictpy@gmail.com" }]
dependencies = [
"Deprecated ~= 1.3",
"typing_extensions >= 4.13, < 5.0",
]
[project.urls]
changelog = "https://codejedi365.github.io/flatdict/misc/changelog.html"
documentation = "https://codejedi365.github.io/flatdict"
homepage = "https://codejedi365.github.io/flatdict"
issues = "https://github.com/codejedi365/flatdict/issues"
repository = "https://github.com/codejedi365/flatdict.git"
[build-system]
requires = [
# Python 3.9+ for building
"setuptools >= 75.4.0, <83.0",
"wheel ~= 0.46.3",
]
build-backend = "setuptools.build_meta"
[project.optional-dependencies]
build = [
"build ~= 1.2",
"tomlkit ~= 0.14.0",
]
dev = [
"mypy == 1.17.0",
"ruff == 0.15.0",
"types-Deprecated ~= 1.3",
]
docs = [
"furo ~= 2025.9",
"Sphinx ~= 7.4",
"sphinx-autobuild == 2024.2.4",
"sphinx-copybutton ~= 0.5.2",
"sphinx-lint ~= 1.0.2",
]
test = [
"pytest ~= 8.3",
"pytest-clarity ~= 1.0",
"pytest-cov >= 5.0.0, < 7.0.0",
"pytest-dependency ~= 0.6.1",
"pytest-env ~= 1.0",
"pytest-order ~= 1.3",
"pytest-pretty ~= 1.2",
]
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
where = ["src"]
[[tool.mypy.overrides]]
module = "pytest_dependency"
ignore_missing_imports = true
[tool.pytest.ini_options]
env = [
"PYTHONHASHSEED = 100000"
]
addopts = [
"-ra",
"--diff-symbols",
"--durations=5",
]
python_files = "*_test.py"
testpaths = ["tests"]
[tool.semantic_release]
add_partial_tags = false
logging_use_named_masks = true
commit_parser = "conventional"
commit_parser_options = { parse_squash_commits = true, ignore_merge_commits = true }
commit_message = """\
chore: release v{version}
Automatically generated by python-semantic-release
"""
build_command = "bash scripts/build.sh"
version_variables = []
version_toml = ["pyproject.toml:project.version"]
[tool.semantic_release.changelog]
exclude_commit_patterns = [
'''chore(?:\([^)]*?\))?: .+''',
'''ci(?:\([^)]*?\))?: .+''',
'''refactor(?:\([^)]*?\))?: .+''',
'''style(?:\([^)]*?\))?: .+''',
'''test(?:\([^)]*?\))?: .+''',
'''build\((?!deps\): .+)''',
'''Merged? .*''',
'''Initial Commit.*''',
]
insertion_flag = "=========\nCHANGELOG\n========="
mode = "update"
template_dir = ".github/release-templates"
[tool.semantic_release.branches.main]
match = "^main$"
prerelease = false
[tool.semantic_release.branches.alpha]
match = "^(feat|fix|perf)/.+"
prerelease = true
prerelease_token = "alpha"
[tool.semantic_release.branches.dev]
match = ".+"
prerelease = true
prerelease_token = "dev"
[tool.semantic_release.remote]
type = "github"
token = { env = "GH_TOKEN" }
[tool.semantic_release.publish]
upload_to_vcs_release = true