-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
60 lines (49 loc) · 2.09 KB
/
pyproject.toml
File metadata and controls
60 lines (49 loc) · 2.09 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
[tool.black]
line-length = 120
[tool.pytest.ini_options]
pythonpath = ["src/"]
testpaths = "tests"
asyncio_mode = "auto"
markers = [
"APP_PORT: Sets the APP_PORT env variable variable at test startup",
"SERVER_URL: Sets the SERVER_URL env variable variable at test startup",
"MOUNT_POINT: Sets the MOUNT_POINT env variable variable at test startup",
"MAX_IDLE_DURATION_SECONDS: Sets the MAX_IDLE_DURATION_SECONDS env variable variable at test startup",
"MAX_DURATION_SECONDS: Sets the MAX_DURATION_SECONDS env variable variable at test startup",
"MAX_ACTIVE_ENDPOINTS: Sets the MAX_ACTIVE_ENDPOINTS env variable variable at test startup",
"MAX_ENDPOINT_NOTIFICATIONS: Sets the MAX_ENDPOINT_NOTIFICATIONS env variable variable at test startup",
"CLEANUP_FREQUENCY_SECONDS: Sets the CLEANUP_FREQUENCY_SECONDS env variable variable at test startup",
]
[tool.isort]
profile = "black"
[tool.bandit]
exclude_dirs = ["tests"]
[tool.mypy]
exclude = ["tests", "build"]
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
namespace_packages = true
warn_redundant_casts = true
warn_unused_ignores = true
[build-system]
requires = ["setuptools >= 40.9.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "cactus_client_notifications"
dynamic = ["version", "readme"]
description = "Mini webserver for accepting CSIP-Aus subscription notifications via dynamic webhook URIs."
dependencies = [
"cactus-schema>=0.0.4,<1",
"aiohttp>=3.11.12,<4",
] # These dependencies are purely for the schema (the default reference). Server dependencies require "server"
[project.optional-dependencies]
dev = ["bandit", "black", "coverage", "flake8", "flake8-bugbear", "mypy"]
test = ["assertical", "pytest", "pytest-asyncio", "pytest-aiohttp", "freezegun"]
[tool.setuptools.package-data]
"cactus_client_notifications" = ["py.typed", "**/*.xsd"]
[tool.setuptools.dynamic]
version = { attr = "cactus_client_notifications.__version__" }
readme = { file = ["README.md"], content-type = "text/markdown" }