-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (73 loc) · 1.73 KB
/
Copy pathpyproject.toml
File metadata and controls
83 lines (73 loc) · 1.73 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "classpulse"
# Single source of truth is the git tag (v0.2.0 -> 0.2.0); between releases
# hatch-vcs derives a dev version like 0.2.1.dev3+g<sha>. Releasing is just:
# git tag v0.3.0 && git push origin v0.3.0
dynamic = ["version"]
description = "Real-time audience engagement web application"
readme = "README.md"
requires-python = ">=3.9"
license = {file = "LICENSE"}
authors = [
{name = "ClassPulse Team"}
]
# Pinned versions live in requirements.txt (the deployment manifest); these
# are the loose library-style bounds.
dependencies = [
"flask>=3.0",
"flask-sqlalchemy>=3.1",
"flask-socketio>=5.5",
"flask-wtf>=1.2",
"flask-limiter>=3.8",
"pillow>=10.0",
"qrcode>=7.4",
"requests>=2.32",
"python-dotenv>=1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=5.0",
"ruff>=0.6",
]
prod = [
"gunicorn>=22.0",
"psycopg2-binary>=2.9.5",
]
[tool.hatch.version]
source = "vcs"
[tool.ruff]
target-version = "py39"
line-length = 100
exclude = [
".git",
".venv",
"venv",
"__pycache__",
"instance",
"node_modules",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"F", # pyflakes
"B", # flake8-bugbear
"C4", # flake8-comprehensions
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.lint.flake8-bugbear]
extend-immutable-calls = ["flask.url_for", "flask.render_template"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = "test_*.py"
pythonpath = [".", "tests"]
[tool.coverage.run]
source = ["classpulse"]
omit = ["tests/*"]
[tool.hatch.build.targets.wheel]
packages = ["classpulse"]