Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
127 lines (112 loc) · 3.02 KB
/
Copy pathpyproject.toml
File metadata and controls
127 lines (112 loc) · 3.02 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
[tool.poetry]
name = "python-fastapistarter"
version = "1.0.0"
description = "A FastAPI starter project with Poetry, Ruff, Pytest, Docker, and VSCode integration."
authors = ["Your Name <your@email.com>"]
readme = "README.md"
packages = [{ include = "python_fastapi_starter", from = "src" }]
[tool.poetry.scripts]
start = "python_fastapi_starter.cli:main"
test = "python_fastapi_starter.cli:test"
lint = "python_fastapi_starter.cli:lint_and_format"
release = "python_fastapi_starter.cli:release"
postinstall = "python_fastapi_starter.cli:postinstall"
[tool.poetry.dependencies]
python = ">=3.12,<4.0"
fastapi = { extras = ["standard"], version = "^0.116.1" }
uvicorn = { extras = ["standard"], version = "^0.35.0" }
python-dotenv = "^1.1.1"
pydantic = "^2.11.7"
[tool.poetry.group.dev.dependencies]
pytest = "^8.4.1"
ruff = "^0.12.7"
python-semantic-release = "^10.3.1"
lefthook = "^1.12.3"
httpx = "^0.28.0"
bandit = "^1.8.6"
flake8 = "^7.3.0"
flake8-comprehensions = "^3.16.0"
setuptools = "^80.9.0"
dsp3-toolkit = "^1.0.1"
[tool.mypy]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "dsp_toolkit.*"
ignore_missing_imports = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.semantic_release]
assets = []
build_command_env = []
commit_message = "{version}\n\nAutomatically generated by python-semantic-release"
commit_parser = "conventional"
logging_use_named_masks = false
major_on_zero = true
allow_zero_version = false
# repo_dir = "/home/msmall/dev/projects/github/telespazio/dsp3/python-fastapi-starter"
no_git_verify = false
tag_format = "v{version}"
version_toml = ["pyproject.toml:tool.poetry.version"]
[tool.semantic_release.branches.main]
match = "(main|master)"
prerelease_token = "rc"
prerelease = false
[tool.semantic_release.changelog]
# changelog_file = ""
exclude_commit_patterns = []
mode = "update"
insertion_flag = "<!-- version list -->"
template_dir = "templates"
[tool.semantic_release.changelog.default_templates]
changelog_file = "CHANGELOG.md"
output_format = "md"
mask_initial_release = true
[tool.semantic_release.changelog.environment]
block_start_string = "{%"
block_end_string = "%}"
variable_start_string = "{{"
variable_end_string = "}}"
comment_start_string = "{#"
comment_end_string = "#}"
trim_blocks = false
lstrip_blocks = false
newline_sequence = "\n"
keep_trailing_newline = false
extensions = []
autoescape = false
[tool.semantic_release.commit_author]
env = "GIT_COMMIT_AUTHOR"
default = "semantic-release <semantic-release>"
[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 = true
[tool.semantic_release.remote]
name = "origin"
type = "github"
ignore_token_for_push = false
insecure = false