generated from ssec-jhu/base-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
105 lines (93 loc) · 2 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
[project]
name = "evolver"
dynamic = ["version"]
authors = [
{name = "Scientifc Software Engineering Center at JHU", email = "ssec@jhu.edu"},
]
description = ""
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.11"
dependencies = [
"duckdb",
"fastapi[all]",
"numpy",
"pydantic<2.8",
"pydantic-settings",
"pyserial",
"scipy",
"uvicorn"
]
[project.optional-dependencies]
dev = [
"bandit>=1.7",
"build",
"deepdiff",
"httpx",
"pytest",
"pytest-cov",
"ruff",
"setuptools>=61.2",
"setuptools_scm[toml]>=8.0",
"tox"
]
docs = [
"sphinx",
"sphinx_rtd_theme",
"sphinx_book_theme",
"sphinx-automodapi",
"sphinx-issues",
"nbsphinx"
]
[project.urls]
homepage = "https://github.com/ssec-jhu/evolver-ng"
documentation = "https://github.com/ssec-jhu/evolver-ng"
repository = "https://github.com/ssec-jhu/evolver-ng"
[build-system]
requires = ["setuptools>=61.2", "setuptools_scm[toml]>=8.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
zip-safe = false
include-package-data = true
exclude-package-data = {"*" = ["tests/*"]}
[tool.setuptools.packages.find]
include = ["evolver*"]
exclude = ["*.tests*"]
[tool.setuptools_scm]
fallback_version = "0.1.0"
write_to = "evolver/_version.py"
[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",
"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"