-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (45 loc) · 1.59 KB
/
Copy pathpyproject.toml
File metadata and controls
54 lines (45 loc) · 1.59 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
[build-system]
requires = ["poetry-core>=2.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
packages = [{ include = "sample" }]
[tool.poetry.group.docs.dependencies]
sphinx = "^9.1.0"
furo = "^2025.12.19"
[project]
name = "samples-python-template"
version = "2026.07.1"
dependencies = [
"setuptools==82.0.1",
"pytest==9.0.3",
"pytest-cov==7.1.0",
"flake8== 7.3.0",
]
requires-python = ">=3.12"
authors = [
{ name = "Cristian Augusto", email = "augustocristian@uniovi.es" }
]
maintainers = [
{ name = "Cristian Augusto", email = "augustocristian@uniovi.es" }
]
description = "Python project template"
readme = "README.md"
license = "Apache-2.0"
license-files = ["LICENSE"]
[project.urls]
Homepage = "https://github.com/augustocristian/samples-python-template"
Documentation = "https://augustocristian.github.io/samples-python-template/"
Repository = "https://github.com/augustocristian/samples-python-template"
"Bug Tracker" = "https://github.com/augustocristian/samples-python-template/issues"
Changelog = "https://github.com/augustocristian/samples-python-template/blob/master/CHANGELOG.md"
[tool.pytest.ini_options]
addopts = "--cov=sample --cov-report=xml:coverage.xml --cov-branch"
#Configurations related to logging in testing, first
log_cli = true
log_cli_level = "INFO"
log_cli_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
log_file = "logs/pytest.log"
log_file_level = "DEBUG"
log_file_format = "%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)"
log_file_date_format = "%Y-%m-%d %H:%M:%S"