-
Notifications
You must be signed in to change notification settings - Fork 22
/
pyproject.toml
101 lines (90 loc) · 2.01 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "hawc_hal"
version = "1.1"
authors = ["Giacomo Vianello <[email protected]>"]
maintainers = [
"Xiaojie Wang <[email protected]>",
"Ramiro Torres-Escobedo <[email protected]>",
]
description = "HAWC Accelerated Likelihood; Read and handle HAWC data"
license = "BSD-3-Clause"
packages = [{ include = "hawc_hal" }, { include = "scripts" }]
[tool.poetry.urls]
homepage = "https://threeml.readthedocs.io/en/stable/index.html"
repository = "https://github.com/threeML/hawc_hal"
documentation = "https://threeml.readthedocs.io/en/stable/notebooks/hal_example.html"
"Bug Tracker" = "https://github.com/threeML/hawc_hal/issues"
[tool.poetry.dependencies]
python = "^3.8"
numpy = ">=1.14"
healpy = "*"
threeml = "*"
astromodels = "*"
pandas = "*"
pytest = "*"
six = "*"
astropy = "*"
scipy = "*"
matplotlib = "*"
numba = "*"
reproject = "*"
tqdm = "*"
uproot = "*"
awkward = "*"
mplhep = "*"
hist = "*"
ruff = "*"
pyright = "*"
[tool.poetry.scripts]
hdf5tofits = "scripts.hal_hdf5_to_fits:main"
halfitpointsrc = "scripts.hal_fit_point_source:main"
[tool.ruff]
include = [
"pyproject.toml",
"hawc_hal/**/*.py",
"scripts/**/*.py",
"notebooks/**/*.ipynb",
]
exclude = [
"codecov.yml",
"data/*",
"ci/*",
"notebooks",
"tests",
".eggs",
".git",
".git-rewrite",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
line-length = 88
indent-width = 4
docstring-code-format = false
[tool.ruff.format]
# Like Black, use double quotes for strings.
quote-style = "double"
# Like Black, indent with spaces, rather than tabs.
indent-style = "space"
# Like Black, respect magic trailing commas.
skip-magic-trailing-comma = false
# Like Black, automatically detect the appropriate line ending.
line-ending = "auto"