-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
118 lines (106 loc) · 2.63 KB
/
pyproject.toml
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[project]
name = "biodb"
dynamic = ["version"]
authors = [
{name = "Scientifc Software Engineering Center at JHU", email = "ssec@jhu.edu"},
]
description = "A base template for creating Django applications for collecting patient data."
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.11"
dependencies = [
"boto3",
"django",
"django-crontab",
"django-decorator-include",
"django-health-check",
"django-nested-admin",
"django-storages[s3]",
"django-sql-explorer[charts]",
"gunicorn",
"kaleido",
"openpyxl",
"pandas",
"plotly",
"psycopg[binary,pool]",
"pyyaml",
"whitenoise",
"xlsxwriter"
]
[project.optional-dependencies]
dev = [
"bandit>=1.7",
"build",
"factory-boy",
"pytest",
"pytest-cov",
"pytest-django",
"ruff",
"setuptools>=61.2",
"setuptools_scm[toml]>=8.0",
"tox"
]
docs = [
"sphinx",
"sphinx_rtd_theme",
"sphinx-automodapi",
"nbsphinx"
]
[project.urls]
homepage = "https://github.com/ssec-jhu/biodb"
documentation = "https://github.com/ssec-jhu/biodb"
repository = "https://github.com/ssec-jhu/biodb"
[build-system]
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=8.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["biodb"]
zip-safe = false
include-package-data = true
[tool.setuptools_scm]
fallback_version = "1.0.0"
version_file = "biodb/_version.py"
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "biodb.settings.dev"
markers = [
"allow_aliases: override setiings.EXPLORER_DATA_EXPORTERS_ALLOW_DATA_FILE_ALIAS (where applicable)",
"media_root: override settings.MEDIA_ROOT (where applicable)",
"include_data_files: override settings.EXPLORER_DATA_EXPORTERS_INCLUDE_DATA_FILES (where applicable)",
"sql: specifiy SQL query (where applicable)",
"auto_find_previous_visit: override settings.AUTO_FIND_PREVIOUS_VISIT"]
[tool.bandit]
exclude_dirs = ["tests"]
[tool.ruff]
line-length = 120
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"docs",
"migrations",
"node_modules",
"venv",
"_version.py"
]
lint.ignore = [
"COM812", # https://docs.astral.sh/ruff/rules/missing-trailing-comma/
"ISC001", # https://docs.astral.sh/ruff/rules/single-line-implicit-string-concatenation/
]
target-version = "py311"
[tool.ruff.lint.pydocstyle] # https://docs.astral.sh/ruff/settings/#lint_pydocstyle_convention
convention = "google"