-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
127 lines (110 loc) · 2.38 KB
/
Copy pathpyproject.toml
File metadata and controls
127 lines (110 loc) · 2.38 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
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
119
120
121
122
123
124
125
126
127
[build-system]
requires = ["setuptools>=77", "setuptools_scm[toml]>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "matvis"
description = "Fast matrix-based visibility simulator with interface to CPU and GPU"
readme = { file = "README.rst", content-type = "text/x-rst" }
requires-python = ">=3.11"
license = "MIT"
license-files = ["LICENSE.txt"]
authors = [{ name = "HERA-Team", email = "steven.g.murray@asu.edu" }]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
]
dynamic = ["version"]
dependencies = [
"astropy",
"click",
"docstring-parser",
"line-profiler",
"numpy>=2.0",
"psutil",
"pyuvdata>=3.2.0",
"rich",
"scipy",
]
[project.urls]
Homepage = "https://github.com/hera-team/matvis"
[project.scripts]
matvis = "matvis.cli:main"
[project.optional-dependencies]
gpu = [
"cupy",
"jinja2",
]
profile = [
"click",
"line-profiler",
"pyuvsim>=1.2.5",
]
[dependency-groups]
docs = [
"furo",
"ipython",
"nbsphinx",
"numpydoc",
"sphinx",
]
doctests = [
"ipykernel>=7.2.0",
"jupyter>=1.1.1",
"matplotlib>=3.8.0",
"papermill>=2.7.0",
]
test = [
"astropy-healpix",
"hypothesis",
"ipython",
"matplotlib",
"pyradiosky",
"pytest",
"pytest-cov",
"pytest-lazy-fixtures",
"pyuvsim[sim]>=1.2.5",
]
dev = [
{ include-group = "docs" },
{ include-group = "test" },
{ include-group = "doctests" },
"prek",
"ruff",
]
[tool.setuptools]
include-package-data = true
zip-safe = false
[tool.setuptools.package-dir]
"" = "src"
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["tests"]
namespaces = true
[tool.pytest.ini_options]
addopts = ["--cov=matvis", "--cov-report=term-missing", "--verbose"]
norecursedirs = ["dist", "build", ".tox"]
testpaths = ["tests"]
[tool.ruff]
line-length = 88
extend-exclude = [
"build",
"dist",
".eggs",
".tox",
"docs/_build",
"docs/conf.py",
"src/matvis/data",
]
[tool.ruff.lint]
select = ["A", "B", "C4", "C90", "D", "E", "F", "G", "I", "T20", "UP", "W"]
ignore = ["B007", "D107", "D401", "D404", "E203", "E231", "E266", "E501", "F401", "F403", "G004"]
per-file-ignores = { "src/matvis/cli.py" = ["T20"], "tests/*.py" = ["E402", "T20"] }
[tool.ruff.lint.mccabe]
max-complexity = 25
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.format]
docstring-code-format = true
[tool.setuptools_scm]