-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (53 loc) · 1.26 KB
/
pyproject.toml
File metadata and controls
60 lines (53 loc) · 1.26 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
[project]
name = "giant-wiki"
version = "1.0.0"
description = "Internal documentation wiki with Git-based storage"
authors = [{ name = "Jon Atkinson", email = "jon.atkinson@giantmade.com" }]
license = { text = "MIT" }
requires-python = ">=3.13"
dependencies = [
"Django>=6.0",
"gunicorn>=23.0.0",
"loguru>=0.7.3",
"whitenoise>=6.11.0",
"python-decouple>=3.8",
"dj-database-url>=2.3.0",
"Markdown>=3.7",
"celery[redis]>=5.6.0",
"django-redis>=6.0.0",
"python-frontmatter>=1.1.0",
"randomname>=0.2.1",
"mysqlclient>=2.2.0",
"requests>=2.32.0",
]
[dependency-groups]
dev = [
"pytest>=9.0.0",
"pytest-django>=4.11.1",
"pytest-cov>=7.0.0",
"pytest-xdist>=3.8.0",
"pytest-testmon>=2.2.0",
"ruff>=0.14.0",
"ipdb>=0.13.13",
]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "core.settings"
python_files = ["test_*.py", "*_test.py"]
testpaths = ["src"]
addopts = "-ra -q"
log_cli_level = "WARNING"
log_level = "WARNING"
[tool.ruff]
line-length = 120
target-version = "py313"
[tool.ruff.lint]
select = ["E", "F", "I", "UP"]
ignore = ["E501"]
[tool.coverage.run]
source = ["src"]
omit = ["*/migrations/*", "*/tests/*"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
]