-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
52 lines (45 loc) · 1.36 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
[build-system]
requires = ["setuptools >= 72.2.0"]
build-backend = "setuptools.build_meta"
[tool.isort]
profile = "black"
[project]
authors = [
{name = "Pablo Koch", email = "[email protected]"},
{name = "Dara Goldberg", email = "[email protected]"},
{name = "Heather Hunsinger", email = "[email protected]"},
{name = "Kirstie Haynie", email = "[email protected]"}
]
maintainers = [
{name = "Dara Goldberg", email = "[email protected]"},
]
description = "Wavelet based inversion for slip on a fault, used to generate Finite Fault products"
keywords = ["usgs", "neic", "earthquake", "slip", "finitefault"]
license = {file = "LICENSE.md"}
name = "neic-finitefault"
requires-python = ">=3.10"
version = "1.0.0"
[project.urls]
Repository = "https://code.usgs.gov/ghsc/neic/algorithms/neic-finitefault"
[tool.setuptools.packages.find]
where = ["src"]
[project.scripts]
"wasp" = "wasp.wasp_admin.wasp:app"
[tool.poe.tasks]
lint = [
{ shell = "black --check src" },
{ shell = "isort --check src/wasp" },
{ shell = "mypy src/wasp" }
]
test = [
{ shell = "pytest src/test --cov=src/wasp" },
{ shell = "coverage xml" },
{ shell = "coverage html" }
]
end_to_end_test = [
{ shell = "safety check -i 51668" },
{ shell = "pytest src/test --cov=src/wasp" },
{ shell = "black --check src" },
{ shell = "isort --check src/wasp" },
{ shell = "mypy src/wasp" }
]