-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (38 loc) · 1.04 KB
/
pyproject.toml
File metadata and controls
46 lines (38 loc) · 1.04 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "gyrinx"
dynamic = ["version", "dependencies"]
requires-python = ">=3.12"
[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
[project.scripts]
manage = "scripts.manage:main"
[tool.pytest.ini_options]
addopts = "--import-mode=importlib -p no:warnings --reuse-db -n auto --nomigrations"
DJANGO_SETTINGS_MODULE = "gyrinx.settings_dev"
python_files = "tests.py test_*.py *_tests.py"
[tool.setuptools.packages]
find = {}
[tool.setuptools_scm]
[tool.djlint]
profile = "django"
custom_blocks = "element,slot,setvar,is_active"
ignore = "H006"
[tool.bandit]
exclude_dirs = [
".venv",
".git",
"__pycache__",
"*/migrations/*",
"*/tests/*",
"scripts/test.sh",
# Python... in node_modules?
"node_modules"
]
skips = [
"B101", # assert_used - we use assert in tests
"B601", # paramiko_calls - we don't use paramiko
"B603", # subprocess_without_shell_equals_true - reviewed case by case
]