-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
76 lines (66 loc) · 1.93 KB
/
pyproject.toml
File metadata and controls
76 lines (66 loc) · 1.93 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "gwBOB"
version = "1.1.0"
description = "A Backwards-One-Body Gravitational Waveform Package"
readme = { file = "README.md", content-type = "text/markdown" }
authors = [
{ name = "Anuj Kankani", email = "anuj.kankani@mail.wvu.edu" }
]
license = { text = "MIT" }
requires-python = ">=3.10"
dependencies = [
"sxs",
"kuibit",
"sympy",
"qnmfits",
"jax",
]
[project.optional-dependencies]
docs = [
"sphinx",
"sphinx-rtd-theme",
"myst-parser",
"sphinx-autodoc-typehints",
"sphinx-copybutton",
"sphinx-design",
]
tests = ["pytest", "pytest-cov"]
[tool.pytest.ini_options]
# By default, skip the heavy byte-for-byte regression baseline tests.
# Run them explicitly with: pytest -m regression_baseline
addopts = "-m 'not regression_baseline'"
markers = [
"integration: tests that require SXS/CCE data and are slow",
"slow: tests that take more than a few seconds",
"regression_baseline: byte-for-byte regression baselines from Stage 2 / 3 refactors. Memory-heavy; opt-in via -m regression_baseline.",
]
[tool.coverage.run]
source = ["gwBOB"]
omit = [
# Skip JAX-accelerated path; not exercised by current tests
"gwBOB/BOB_terms_jax.py",
# Top-level only contains imports + enable_output()
"gwBOB/__init__.py",
# ASCII-art helpers; cosmetic
"gwBOB/ascii_funcs.py",
]
[tool.coverage.report]
# Make uncovered branches visible
show_missing = true
skip_covered = false
# Lines that are intentionally not counted (e.g. defensive imports)
exclude_lines = [
"pragma: no cover",
"raise NotImplementedError",
"if __name__ == .__main__.:",
]
[project.urls]
Homepage = "https://github.com/AnujKankani/BackwardsOneBody"
Documentation = "https://backwardsonebody.readthedocs.io"
Repository = "https://github.com/AnujKankani/BackwardsOneBody"
[tool.setuptools.packages.find]
where = ["."]
include = ["gwBOB*"]