-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (51 loc) · 1.72 KB
/
pyproject.toml
File metadata and controls
59 lines (51 loc) · 1.72 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
[build-system]
requires = [
'setuptools==78.1.1',
'wheel==0.45.1'
]
build-backend = 'setuptools.build_meta'
[project]
name = "mrmat-python-api-fastapi"
description = "A Python API using FastAPI"
urls = { "Sources" = "https://github.com/MrMatAP/mrmat-python-api-fastapi.git" }
keywords = ["api", "python", "fastapi"]
readme = "README.md"
license = "MIT"
authors = [
{ "name" = "Mathieu Imfeld", "email" = "imfeldma+9jqerw@gmail.com" }
]
maintainers = [
{ "name" = "Mathieu Imfeld", "email" = "imfeldma+9jqerw@gmail.com" }
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.13"
]
requires-python = ">=3.13"
dynamic = ["version", "dependencies", "optional-dependencies"]
[tool.setuptools.dynamic]
version = { attr = "ci.version"}
dependencies = {file = ["requirements.txt"]}
optional-dependencies = { dev = {file = ["requirements.dev.txt"] } }
[tool.setuptools.packages.find]
where = ["src"]
include = ["mrmat_python_api_fastapi*"]
namespaces = true
[tool.setuptools.package-data]
"*" = [".mo", "*.yml", "*.yaml", "*.md", "inventory", "*.j2", "*.html", "*.ico", "*.css", "*.js", "*.svg", "*.woff", "*.eot", "*.ttf"]
[project.scripts]
mrmat-python-api-fastapi = "mrmat_python_api_fastapi.app:run"
[tool.mypy]
plugins = [ 'pydantic.mypy' ]
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[tool.pytest.ini_options]
testpaths = 'tests'
addopts = '--cov=mrmat_python_api_fastapi --cov-report=term --cov-report=xml:build/coverage.xml --junit-xml=build/junit.xml'
junit_family = 'xunit2'
log_cli = 1
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'