-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
84 lines (76 loc) · 1.82 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
[project]
name = "ztf_viewer"
version = "2024.7.1"
authors = [
{email = "hombit@gmail.com"},
{name = "Konstantin Malanchev"}
]
description = "ZTF data releases viewer"
readme = "README.md"
license = {text = "MIT"}
keywords = ["science", "astrophysics"]
requires-python = ">=3.12"
dependencies = [
"dash>=2.3.1",
"dash_defer_js_import",
"dash-dangerously-set-inner-html",
"ipywidgets>=7.0.0", # needed by plotly
"orjson",
"flask",
"pandas",
"numpy",
"astropy",
"astroquery",
"jinja2",
"requests",
"redis",
"redis-lru",
"matplotlib>=3.3",
"cachetools",
"scipy",
# v4 brake our immutabledefaultdict implementation
"immutabledict<4",
"alerce",
# supports astropy 5
"dustmaps>=1.0.10",
"antares-client>=1.2.0",
]
classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Astronomy",
"Programming Language :: Python :: 3",
]
[project.optional-dependencies]
tests = [
'pytest',
'pytest-redis',
]
[project.urls]
homepage = "ztf.snad.space"
repository = "github.com/snad-space/ztf_viewer"
changelog = "github.com/snad-space/ztf_viewer/blob/master/CHANGELOG.md"
[tool.setuptools]
include-package-data = true
[tool.setuptools.packages.find]
exclude = ["tests"]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -q"
testpaths = [
"tests",
]
[tool.black]
line-length = 120
target-version = ["py310"]
include = '\.py$'
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.per-file-ignores]
# F401: imported but unused
"ztf_viewer/catalogs/__init__.py" = ["F401"]
"ztf_viewer/catalogs/extinction/__init__.py" = ["F401"]
"ztf_viewer/catalogs/snad/__init__.py" = ["F401"]
"ztf_viewer/importer.py" = ["F401"]
"ztf_viewer/lc_data/__init__.py" = ["F401"]