-
Notifications
You must be signed in to change notification settings - Fork 4
/
pyproject.toml
70 lines (62 loc) · 1.44 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
[build-system]
requires = ["setuptools", "wheel", "numpy", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
packages = ["regularizepsf"]
[project]
name = "regularizepsf"
dynamic = ["version"]
requires-python = ">3.10"
description = "Point spread function modeling and regularization"
dependencies = [
"numpy",
"h5py",
"sep-pjw",
"astropy",
"scipy",
"scikit-image",
"matplotlib",
]
readme = "README.md"
license = {file = "LICENSE"}
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"hypothesis",
"coverage",
"ruff",
"pytest-mpl",
]
docs = [
"packaging",
"sphinx",
"pydata-sphinx-theme",
"sphinx-autoapi",
"nbsphinx",
"ipython",
]
dev = ["regularizepsf[test, docs]", "pre-commit"]
[tool.setuptools_scm]
[tool.ruff]
exclude = ['tests/*']
line-length = 120
# lint.select = ["ALL"]
lint.ignore = [ "FBT001", "FBT002", "ANN401", "E731"]
#[tool.ruff.lint]
#select = ["NPY201"]
[tool.isort]
balanced_wrapping = true
default_section = "THIRDPARTY"
include_trailing_comma = true
known_compatibility = "future"
known_first_party = "regularizepsf"
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.cibuildwheel]
# Disable building PyPy wheels on all platforms
skip = "pp*"