-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
102 lines (91 loc) · 2 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
90
91
92
93
94
95
96
97
98
99
100
101
102
[build-system]
requires = [
"setuptools>=61.2",
]
build-backend = "setuptools.build_meta"
[project]
name = "sambal"
version = "0.0.1"
authors = [
{ name = "Rob van der Linde", email = "[email protected]" },
]
description = "Web admin for Samba using Pyramid"
readme = "README.md"
keywords = [ "pyramid", "samba" ]
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Networking",
]
dependencies = [
"pyramid==2.0.2",
"pyramid_jinja2==2.10.1",
"pyramid_session_redis==1.6.3",
"redis==5.2.1",
"waitress==3.0.2",
"WTForms==3.2.1",
]
[project.optional-dependencies]
test = [
"pytest==8.3.4",
"pytest-cov==6.0.0",
"WebTest==3.0.2",
"ruff==0.8.4",
]
[project.license]
text = "GPL-3.0-only"
[project.scripts]
sambal = "sambal:__main__"
[tool.setuptools]
include-package-data = true
license-files = [
"LICENSE.txt",
]
[tool.setuptools.package-data]
"sambal" = [
"*.txt",
"*.ini",
"*.cfg",
"*.rst",
"*.md",
"static/**",
"templates/**",
]
[tool.distutils.bdist_wheel]
universal = true
[tool.pytest.ini_options]
python_files = ["tests.py", "test_*.py", "*_tests.py"]
addopts = "--cov=sambal --cov-branch --cov-report=term --cov-report=html:reports/htmlcov --cov-report=xml:reports/coverage.xml --junitxml=reports/junit.xml"
[tool.ruff]
exclude = [
".coverage",
".eggs",
".git",
".git-rewrite",
".ruff_cache",
".tox",
".vscode",
"build",
"dist",
"venv",
]
line-length = 88
indent-width = 4
target-version = "py38"
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F"]
ignore = []
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"