-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
96 lines (81 loc) · 2.45 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
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "simpunch"
dynamic = ["version"]
dependencies = [
"numpy",
"astropy",
"pandas",
"matplotlib",
"regularizepsf",
"prefect[dask, sqlalchemy]",
"punchbowl",
"toml",
"scipy",
"photutils",
]
requires-python = ">=3.10"
authors = [
{name = "J. Marcus Hughes", email = "[email protected]"},
{name = "Chris Lowder", email="[email protected]"}
]
maintainers = [
{name = "J. Marcus Hughes", email = "[email protected]"}
]
description = "Simulate PUNCH observations"
readme = "README.md"
license = {file = "LICENSE"}
keywords = ["PUNCH", "NASA", "simulate", "data", "solar physics"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python"
]
[project.optional-dependencies]
test = ["pytest", "pytest-doctestplus", "pytest-cov", "ruff", "coverage"]
docs = ["sphinx", "sphinx-autoapi", "sphinx-automodapi", "pydata-sphinx-theme", "sphinx-favicon", "ipython", "packaging"]
[project.scripts]
simpunch = "simpunch.cli:main"
[project.urls]
Documentation = "https://punch-mission.github.io/simpunch/"
Repository = "https://github.com/punch-mission/simpunch.git"
"Bug Tracker" = "https://github.com/punch-mission/simpunch/issues"
Changelog = "https://github.com/punch-mission/simpunch/blob/main/CHANGELOG.md"
[tool.setuptools_scm]
[tool.setuptools]
packages = ["simpunch"]
[tool.codespell]
skip = "*.fts,*.fits,venv,*.pro,*.asdf,*.ipynb"
[tool.ruff]
target-version = "py311"
line-length = 120
exclude=[
".git,",
"__pycache__",
"build",
"simpunch/version.py",
]
show-fixes = true
lint.select = ["ALL"]
lint.ignore = ["PTH", "S113", "S311", "NPY002",
"FBT002", "FBT001", "PLR0913", "TD003",
"TD004", "TD002", "FIX002", "DTZ001", "I001", "PT001"]
[tool.ruff.lint.per-file-ignores]
# Part of configuration, not a package.
"setup.py" = ["INP001"]
"conftest.py" = ["INP001"]
# implicit-namespace-package. The examples are not a package.
"docs/*.py" = ["INP001"]
# Module level imports do not need to be at the top of a file here
"docs/conf.py" = ["E402"]
"__init__.py" = ["E402", "F401", "F403"]
"level*.py" = ["T201"] # it's fine to print in flows
"test_*.py" = ["B011", "D", "E402", "PGH001", "S101", "NPY002"]
"cli.py" = ["ANN"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.pytest.ini_options]
markers = [
"slow: a slow test to normally skip in CI",
]