-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (93 loc) · 2.36 KB
/
Copy pathpyproject.toml
File metadata and controls
110 lines (93 loc) · 2.36 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
[project]
name = "homelab_auth"
version = "0.14.0"
description = "Home Lab Auth"
authors = [
{ name = "MrSecure", email = "MrSecre@home.arpa" }
]
dependencies = [
"Flask>=3.0.0",
"Jinja2>=3.0.0",
"PyYAML>=6.0.1",
"passlib>=1.7.4",
"bcrypt==4.3.0",
"itsdangerous>=2.1.0",
"gunicorn>=26.0.0"
]
readme = "README.md"
requires-python = ">=3.11"
[project.urls]
Homepage = "https://github.com/MrSecure/homelab-auth"
[tool.uv.pip]
universal = true
generate-hashes = true
require-hashes = true
[[tool.uv.index]]
name = "pypi"
url = "https://pypi.org/simple"
default = true
[tool.isort]
profile = "black"
src_paths = ["src", "tests"]
[tool.mypy]
plugins = []
[tool.pytest.ini_options]
addopts = "--cov=src/homelab_auth --cov-append --no-cov-on-fail --cov-fail-under=0 --cov-report=html:tmp/htmlcov --cov-report=xml:tmp/coverage.xml --cov-report=term-missing"
pythonpath = ['src']
cache_dir = "tmp/.pytest_cache"
markers = [
"unit: marks tests as unit tests (deselect with '-m \"not unit\"')",
"integration: marks tests as integration tests (deselect with '-m \"not integration\"')",
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
[tool.uv]
managed = true
[dependency-groups]
dev = [
"coverage",
"pre-commit",
"pydantic>=2.13.4",
"pyright",
"pytest",
"pytest-cov",
"pytest-mock",
"python-semantic-release",
"PyYAML>=6.0.1",
"refurb",
]
[tool.coverage.run]
data_file = "tmp/.coverage"
[tool.coverage.report]
fail_under = 80
[tool.pyright]
include = ["src", "tests"]
exclude = ["**/__pycache__"]
typeCheckingMode = "standard"
[tool.semantic_release]
version_toml = [
"pyproject.toml:project.version",
]
version_variables = [
"src/homelab_auth/__init__.py:__version__:nf",
"README.md:docker run MrSecure/homelab_auth:nf",
]
changelog_file = "CHANGELOG.md"
commit_parser = "conventional"
allow_zero_version = true
commit_author = "MrSecure Automation <automation@home.arpa>"
commit_message = "chore(release): {version}"
tag_format = "v{version}"
[tool.semantic_release.branches.release]
match = "main"
[tool.semantic_release.publish]
dist_glob_patterns = ["dist/*"]
upload_to_vcs_release = true
[tool.semantic_release.remote]
name = "origin"
type = "github"
token = { env = "GH_TOKEN" }
ignore_token_for_push = false
insecure = false
[tool.ruff]
target-version = "py311"
extend-exclude = ["tests/*"]