-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
142 lines (132 loc) · 3.4 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "punchbowl"
dynamic = ["version"]
dependencies = [
"numpy",
"astropy",
"sunpy[all]",
"pandas",
"ndcube",
"matplotlib",
"ccsdspy",
"prefect",
"regularizepsf",
"solpolpy",
"scipy",
"lmfit",
"sunkit-image",
"setuptools",
"reproject",
"pylibjpeg",
"python-dateutil",
"thuban",
"remove_starfield",
"quadprog",
"pylibjpeg[openjpeg]",
"requests",
]
requires-python = ">=3.11"
authors = [
{name = "J. Marcus Hughes", email = "[email protected]"},
{name = "Chris Lowder", email = "[email protected]"},
{name = "Matthew West", email = "[email protected]"},
{name = "Sarak Kovac", email = "[email protected]"},
{name = "Ritesh Patel", email = "[email protected]"},
{name = "Derek Lamb", email = "[email protected]"},
{name = "Dan Seaton", email = "[email protected]"}
]
maintainers = [
{name = "J. Marcus Hughes", email = "[email protected]"}
]
description = "PUNCH science calibration code"
readme = "README.md"
license = {file = "LICENSE"}
keywords = ["solar physics", "PUNCH", "NASA", "science", "calibration"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python"
]
[project.optional-dependencies]
test = ["pytest",
"codespell",
"coverage",
"pytest-cov",
"flake8",
"pytest-runner",
"pytest-mpl",
"pre-commit",
"ruff",
"hypothesis"]
docs = ["sphinx",
"codespell",
"packaging",
"pydata-sphinx-theme",
"sphinx-autoapi",
"sphinx-favicon",
"nbsphinx",
"ipython",
"sphinxcontrib-mermaid"]
gpu = ["cupy"]
dev = ["punchbowl[docs,test]"]
[project.urls]
#Homepage = "https://example.com"
Documentation = "https://punchbowl.readthedocs.io/en/latest/"
Repository = "https://github.com/punch-mission/punchbowl.git"
"Bug Tracker" = "https://github.com/punch-mission/punchbowl/issues"
#Changelog = "https://github.com/punch-mission/thuban/blob/main/CHANGELOG.md"
[tool.setuptools_scm]
[tool.setuptools]
packages = ["punchbowl"]
[tool.codespell]
skip = "*.fts,*.fits,venv,*.pro,*.asdf,*.ipynb"
[tool.ruff]
target-version = 'py311'
exclude = ['tests', 'scripts', 'docs']
line-length=120
lint.select = ["ALL"]
lint.ignore = [
'EM102',
'TRY003',
'G004',
"I001",
'D100',
'D104',
"PTH",
"FBT",
"TD",
"FIX",
"PLR",
"B028",
"NPY002",
"PERF403",
"PYI041",
"ANN401",
"PYI024",
"DTZ005",
"D203",
"D212",
"TC002",
"TC003", "E731"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402"]
"*/tests/*" = ['S101']
[tool.isort]
balanced_wrapping = true
default_section = "THIRDPARTY"
include_trailing_comma = true
known_compatibility = "future"
known_first_party = "punchbowl"
length_sort = false
length_sort_sections = "stdlib"
line_length = 120
multi_line_output = 3
no_lines_before = "LOCALFOLDER"
sections = "FUTURE, COMPATIBILITY, STDLIB, THIRDPARTY, FIRSTPARTY, LOCALFOLDER"
[tool.pytest.ini_options]
markers = [
"prefect_test: a test that integrates with Prefect",
"regression: a regression test, likely slow",
]