-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (81 loc) · 1.95 KB
/
pyproject.toml
File metadata and controls
89 lines (81 loc) · 1.95 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
[build-system]
requires = ["setuptools", "setuptools_scm[toml]", "black", "isort", "flake8", "flake8-pyproject"]
build-backend = "setuptools.build_meta"
[project]
name = "parametric-matrix-models"
authors = [
{ name = "Patrick Cook", email = "cookpat4@msu.edu" },
]
description = "Python package for Parametric Matrix Models"
readme = "README.md"
requires-python = ">=3.11"
keywords = ["PMM", "Parametric Matrix Models", "Emulation", "Machine Learning"]
license = "GPL-3.0-or-later"
classifiers= [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Science/Research",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
"jax>=0.9.0",
"jaxtyping>=0.3.8",
"beartype",
"ordered-set",
"packaging",
"scipy",
]
dynamic = ["version"]
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
]
cuda = [
"jax[cuda]",
]
rocm = [
"jax[rocm]",
]
docs = [
"sphinx",
"nbsphinx",
"numpydoc",
"pydata-sphinx-theme",
"sphinx-copybutton",
"sphinx-design",
"sphinxcontrib-bibtex",
"sphinx-autodoc-typehints",
"matplotlib",
"ipykernel",
"ipython",
]
[project.urls]
Homepage = "https://github.com/Parametric-Matrix-Models"
[tool.setuptools_scm]
[tool.black]
line_length = 79
preview = true
enable_unstable_feature = ["string_processing"]
[tool.isort]
profile = "black"
line_length = 79
[tool.flake8]
extend-ignore = [
"E203", # Whitespace before ':'
"F722", # Syntax error in forward annotation (https://docs.kidger.site/jaxtyping/faq/)
]
per-file-ignores = [
"__init__.py:E402,F401", # Import not at top of file, Unused import
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"--strict-markers",
"--strict-config",
"-ra", # show summary of all test outcomes
]