forked from byceps/byceps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
100 lines (89 loc) · 2.41 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
[project]
name = "BYCEPS"
version = "0.0"
description = "LAN party web platform"
readme = "README.rst"
requires-python = ">=3.10"
license = { text = "Revised BSD License" }
authors = [ { name = "Jochen \"Y0Gi\" Kupperschmidt", email = "[email protected]" } ]
keywords = [ "lanparty" ]
classifiers = [
"Environment :: Web Environment",
"Framework :: Flask",
"Intended Audience :: Developers",
"Intended Audience :: Other Audience",
"License :: OSI Approved :: BSD License",
"Natural Language :: German",
"Programming Language :: JavaScript",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Communications",
"Topic :: Games/Entertainment",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Content Management System",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary",
]
[project.scripts]
byceps = "byceps.cli.cli:cli"
[project.urls]
Website = "https://byceps.nwsnet.de/"
Documentation = "https://byceps.readthedocs.io/"
"Source Code" = "https://github.com/byceps/byceps"
[build-system]
requires = [ "setuptools" ]
build-backend = "setuptools.build_meta"
[tool.mypy]
python_version = "3.10"
plugins = "sqlalchemy.ext.mypy.plugin"
ignore_missing_imports = true
no_implicit_optional = true
[tool.pytest.ini_options]
addopts = "-vv -ra"
testpaths = [ "tests/unit", "tests/integration" ]
[tool.ruff]
line-length = 80
select = [
"B",
"E",
"EXE",
"F",
"G",
"ICN",
"ISC",
"PLE",
"PLW",
"PTH",
"PYI",
"Q",
"RSE",
"S",
"TID",
"UP",
"W",
"YTT",
]
ignore = [
"E501", # Line too long
"ISC001", # Conflict with Ruff's formatter
"Q001", # Conflict with Ruff's formatter
"W291", # Trailing whitespace (because of email signature, `-- `)
]
[tool.ruff.flake8-quotes]
inline-quotes = "single"
multiline-quotes = "single"
[tool.ruff.format]
quote-style = "single"
line-ending = "lf"
[tool.ruff.isort]
combine-as-imports = true
force-sort-within-sections = true
forced-separate = [ "tests" ]
lines-after-imports = 2
order-by-type = false
[tool.ruff.per-file-ignores]
"tests/**/*.py" = [ "S101", "S105", "S106", "S107" ]
[tool.setuptools]
packages = [ "byceps" ]