-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (65 loc) · 2.01 KB
/
Copy pathpyproject.toml
File metadata and controls
76 lines (65 loc) · 2.01 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "ceopardy"
description = "A Jeopardy!-style game for hosting Hacker Jeopardy nights."
readme = "README.md"
license = { text = "GPL-3.0-or-later" }
requires-python = ">=3.11"
authors = [{ name = "Olivier Bilodeau", email = "olivier@bottomlesspit.org" }]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Flask",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Games/Entertainment",
]
dependencies = [
"Flask==3.1.3",
"Flask-CORS==6.0.2",
"Flask-SocketIO==5.6.1",
"Flask-SQLAlchemy==3.0.5",
"SQLAlchemy==1.4.54",
"Werkzeug==3.1.8",
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/obilodeau/ceopardy"
Repository = "https://github.com/obilodeau/ceopardy"
[project.scripts]
ceopardy = "ceopardy.__main__:main"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "ceopardy/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["ceopardy"]
# ceopardy/static/dist/ is gitignored (it's a build artifact); force-include
# it so a freshly-built wheel ships the SPA bundle.
artifacts = ["ceopardy/static/dist/**"]
[tool.hatch.build.targets.sdist]
include = ["ceopardy", "tests", "README.md", "LICENSE"]
artifacts = ["ceopardy/static/dist/**"]
[tool.ruff]
target-version = "py311"
line-length = 100
exclude = [
".git",
"__pycache__",
".venv",
"ceopardy/static/",
"ceopardy/_version.py",
]
[tool.ruff.lint]
# E/W: pycodestyle F: pyflakes I: isort
select = ["E", "F", "W", "I"]
[tool.ruff.lint.per-file-ignores]
# shell.py is an interactive REPL helper; its imports are used interactively.
"ceopardy/shell.py" = ["F401"]
[tool.pytest.ini_options]
testpaths = ["tests"]