-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
83 lines (73 loc) · 2.42 KB
/
pyproject.toml
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
[project]
name = "micropython-default"
description = "Micropython project template for the Raspberry Pi Pico W"
authors = [{name = "Andrew Ridyard", email = "ridyard12@gmail.com"}]
maintainers = [{name = "Andrew Ridyard", email = "ridyard12@gmail.com"}]
version = "0.0.2"
license = {file = "LICENSE"}
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.10"
classifiers=[
# 3 - Alpha | 4 - Beta | 5 - Production/Stable
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPL-3.0-or-later)",
"Natural Language :: English",
# Python versions
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Embedded Systems",
]
keywords = ["rpi", "pico", "micropython", "bootstrap", "microdot"]
dependencies = [
"micropython-rp2-rpi-pico-w-stubs>=1.23.0.post2",
"picoproject @ git+https://github.com/andyrids/picoproject",
]
[dependency-groups]
dev = [
"bump-my-version>=0.29.0",
"ruff>=0.7.4",
"sphinx>=8.1.3",
"sphinx-rtd-theme>=3.0.2",
]
[project.urls]
Repository = "https://github.com/andyrids/cookiecutter-aws-iot-pico-thing"
Issues = "https://github.com/andyrids/cookiecutter-aws-iot-pico-thing/issues"
[tool.ruff]
exclude = ["lib", "env"]
indent-width = 4
line-length = 80
[tool.ruff.format]
indent-style = "space"
line-ending = "auto"
quote-style = "double"
[tool.ruff.lint]
select = [
"D1", # pydocstyle
"E", # pycodestyle
"ERA", # commented out code
"W", # pycodestyle
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]
[tool.uv.sources]
picoproject = { git = "https://github.com/andyrids/picoproject" }
[tool.bumpversion]
current_version = "0.0.2"
commit = true
commit_args = "--no-verify"
tag = true
tag_name = "v{new_version}"
tag_message = "chore: tag version update {current_version} -> {new_version}."
allow_dirty = false
message = "chore: version update {current_version} -> {new_version}."
[[tool.bumpversion.files]]
filename = "pyproject.toml"
search = 'version = "{current_version}"'
replace = 'version = "{new_version}"'