-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (49 loc) · 1.22 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
[build-system]
requires = ["setuptools >= 62.1.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "python_template"
version = "0.0.1"
authors = [{ name = "Author" }, { email = "<author@email.com>" }]
requires-python = ">=3.10"
description = "Description"
readme = { file = "README.md", content-type = "text/markdown" }
license = { text = "MIT" }
keywords = []
dependencies = []
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
]
[tool.setuptools.packages.find]
where = ["src"]
include = ["project*"]
exclude = ["tests"]
[tool.pyright]
include = "src"
venv = ".venv"
venvPath = "."
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 79
default_section = "THIRDPARTY"
known_first_party = []
known_third_party = ["pytest", "setuptools"]
[tool.black]
line-length = 79
include = '.pyi?%'
[tool.pytest.ini_options]
addopts = "--cov=src"
testpaths = ["tests"]
[tool.mypy]
mypy_path = "src"
ignore_missing_imports = true
[tool.pydocstyle]
match = '.*\.py'
[tool.commitizen]
name = "cz_conventional_commits"
version = "0.0.1"
tag_format = "$version"