-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
83 lines (71 loc) · 1.62 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
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "radio-pyse"
dynamic = ["version"]
description = "Python Source Extractor"
readme = {file = "README.rst", content-type = "text/x-rst"}
license = {file = "LICENSE"}
authors = [
{ name = "TKP Discovery WG", email = "[email protected]" },
]
requires-python = ">=3.10, <3.12"
dependencies = [
"astropy",
"dask[array]",
"numpy<2.0",
"psutil",
"python-casacore",
"python-dateutil",
"pytz",
"scipy",
"numba",
"sep",
"six",
]
[project.urls]
Homepage = "http://docs.transientskp.org/"
# here so that standalone setuptools_scm also works
[tool.setuptools_scm]
version_file = "sourcefinder/_version.py"
version_scheme = "release-branch-semver"
[tool.hatch.version]
source = "vcs"
# default: guess-next-dev, alternatives: release-branch-semver, post-release, no-guess-dev
raw-options = { version_scheme = "guess-next-dev" }
[tool.hatch.build.hooks.vcs]
version-file = "sourcefinder/_version.py"
[tool.hatch.build.targets.sdist]
include = [
"/sourcefinder",
]
[tool.hatch.build.targets.wheel]
packages = ["sourcefinder"]
[tool.hatch.envs.test]
extra-dependencies = [
"pytest",
"pytest-cov",
]
[tool.hatch.envs.lint]
detached = true
dependencies = [
"black",
"flake8",
"mypy",
"ruff",
]
[tool.pytest.ini_options]
testpaths = ["test"]
addopts = ["--import-mode=importlib", "--cov=sourcefinder", "-q", "-ra"]
[tool.black]
include = '\.pyi?$'
extend-exclude ='''
(
^test/data
)
'''
[tool.mypy]
ignore_missing_imports = true
check_untyped_defs = true
files = "sourcefinder"