Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (59 loc) · 1.58 KB
/
Copy pathpyproject.toml
File metadata and controls
70 lines (59 loc) · 1.58 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
[build-system]
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[project]
name = "copilot-python-app"
version = "0.1.0"
description = "Azure-ready FastAPI service scaffold optimized for GitHub Copilot workflows."
readme = "README.md"
requires-python = ">=3.12"
license = { text = "MIT" }
authors = [{ name = "Project maintainers" }]
dependencies = [
"fastapi>=0.115.0",
"pydantic-settings>=2.6.0",
"python-dotenv>=1.0.0",
"python-json-logger>=3.0.0",
"uvicorn[standard]>=0.32.0",
]
[project.optional-dependencies]
seq = [
"requests>=2.32.0",
]
azure = [
"azure-monitor-opentelemetry>=1.6.0",
]
dev = [
"bandit>=1.7.10",
"coverage[toml]>=7.6.0",
"httpx>=0.27.0",
"mypy>=1.13.0",
"pip-audit>=2.7.3",
"pytest>=8.3.0",
"pytest-cov>=5.0.0",
"ruff>=0.7.0",
]
[project.urls]
Homepage = "https://github.com/"
[tool.hatch.build.targets.wheel]
packages = ["src/copilot_python_app", "src/emm_logging", "src/emm_settings"]
[tool.ruff]
line-length = 100
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "SIM", "RUF"]
[tool.mypy]
python_version = "3.12"
strict = true
warn_unused_configs = true
files = ["src", "tests"]
[tool.pytest.ini_options]
addopts = "--strict-markers --strict-config --cov=copilot_python_app --cov=emm_logging --cov=emm_settings --cov-report=term-missing"
testpaths = ["tests"]
[tool.coverage.run]
branch = true
source = ["copilot_python_app", "emm_logging", "emm_settings"]
[tool.coverage.report]
show_missing = true
skip_covered = true
fail_under = 80