-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (65 loc) · 2.17 KB
/
Copy pathpyproject.toml
File metadata and controls
75 lines (65 loc) · 2.17 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "aces-workbench"
version = "0.0.0"
description = "Collaborative review workbench for ACES scenario packs."
readme = "README.md"
requires-python = ">=3.12"
license = { file = "LICENSE" }
authors = [{ name = "Brad Edwards" }]
keywords = ["aces", "scenario", "atlas", "review", "django"]
classifiers = [
"Development Status :: 3 - Alpha",
"Framework :: Django",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Topic :: Security",
]
dependencies = [
"Django>=5.1,<6",
"whitenoise>=6.7",
"dj-database-url>=2.2",
"django-cache-url>=3.4",
"django-axes>=7.0",
"django-ratelimit>=4.1",
"django-csp>=4.0",
"PyYAML>=6",
"aces-sdl==0.23.1",
]
[project.urls]
Homepage = "https://github.com/Brad-Edwards/aces-scenario-workbench"
Repository = "https://github.com/Brad-Edwards/aces-scenario-workbench"
Issues = "https://github.com/Brad-Edwards/aces-scenario-workbench/issues"
[project.scripts]
aces-workbench = "aces_scenario_workbench.cli:main"
[project.optional-dependencies]
postgres = ["psycopg[binary]>=3.2"]
server = ["gunicorn>=23"]
[dependency-groups]
dev = ["ruff>=0.15", "pytest>=8", "pytest-django>=4.9", "pytest-cov>=5"]
docs = ["mkdocs-material>=9.5"]
[tool.hatch.build.targets.wheel]
packages = ["src/aces_scenario_workbench"]
[tool.ruff]
line-length = 100
target-version = "py312"
extend-exclude = ["**/migrations/**"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]
# `ruff format` owns line width; E501 as a lint rule is noise alongside it.
ignore = ["E501"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "aces_scenario_workbench.settings"
testpaths = ["tests"]
addopts = "--cov=aces_scenario_workbench --cov-report=xml --cov-report=term-missing"
filterwarnings = [
# WhiteNoise notes the absent STATIC_ROOT dir when collectstatic has not run
# (expected in tests/local dev, where assets are served from finders).
"ignore:No directory at:UserWarning",
]
[tool.coverage.run]
source = ["aces_scenario_workbench"]
omit = ["*/migrations/*", "*/wsgi.py", "*/asgi.py"]