-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
89 lines (78 loc) · 1.7 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
84
85
86
87
88
89
[build-system]
requires = [
"setuptools",
"setuptools_scm[toml]",
"wheel"
]
build-backend = "setuptools.build_meta"
[project]
name = "python_training_project"
authors = [
{name = "Andreas Nussberger", email = "[email protected]"},
{name = "Thomas Keller", email = "[email protected]"},
]
description = "Python Training Project by devminds GmbH"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"click",
"flake8-gl-codeclimate>=0.2.1",
]
dynamic = ["version"]
[project.urls]
"Homepage" = "https://github.com/devminds-ch/project-python"
"Bug Tracker" = "https://github.com/devminds-ch/project-python/issues"
[project.scripts]
python_training_project = "python_training_project.__main__:cli"
[dependency-groups]
dev = [
"coverage",
"flake8",
"mypy",
"myst-parser",
"pylint",
"pytest",
"pytest-cov",
"pytest-mock",
"ruff",
"sphinx",
"sphinx-rtd-theme",
]
[tool.setuptools_scm]
write_to = "src/python_training_project/version.py"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov --cov-report term --cov-report xml --junitxml=build/test-report.xml"
pythonpath = [
"src",
]
testpaths = [
"tests",
]
[tool.coverage.run]
branch = true
omit = [
"*/__init__.py",
"*/__main__.py",
"*/version.py",
"tests/*"
]
[tool.coverage.xml]
output = "build/test-coverage.xml"
source_pkgs = ["python_training_project"]
[tool.ruff]
include = [
"pyproject.toml",
"src/**/*.py",
"tests/**/*.py"
]
output-format = "pylint"
[tool.pylint.main]
ignore = [
"version.py"
]