-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
121 lines (109 loc) · 2.42 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
[build-system]
requires = [ "setuptools", "setuptools_scm<8.0" ]
build-backend = "setuptools.build_meta"
[project]
name = "schedview"
description = "Tools for visualization of Rubin Observatory's scheduler status, strategy and progress on LSST."
readme = "README.md"
authors = [
{name="Eric Neilsen"},
{name="Lynne Jones"},
{name="Eman Ali"},
{name="Alice Serene"}
]
classifiers = [
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Astronomy",
]
urls = {documentation = "https://schedview.lsst.io", repository = "https://github.com/lsst/schedview"}
dynamic = [ "version" ]
dependencies = [
"astropy >= 5.3",
"colorcet",
"bokeh >= 3.1.1",
"healpy",
"holoviews",
"hvplot",
"lsst-efd-client",
"lsst-resources",
"matplotlib",
"numpy",
"pandas",
"panel >= 1.1.0",
"param",
"pytz",
"skyproj",
"rubin-scheduler",
"rubin-sim",
"uranography >= 1.1.0 ",
]
[project.optional-dependencies]
test = [
"pytest",
"black",
"isort",
"ruff",
"pytest-cov",
"geckodriver",
"playwright",
"pre-commit"
]
dev = [
"documenteer[guide]",
]
[project.scripts]
prenight = "schedview.app.prenight.prenight:main"
scheduler_dashboard = "schedview.app.scheduler_dashboard.scheduler_dashboard_app:main"
[tool.setuptools.dynamic]
version = { attr = "setuptools_scm.get_version" }
[tool.setuptools.packages.find]
where = [ "" ]
[tool.setuptools_scm]
write_to = "schedview/version.py"
write_to_template = """
# Generated by setuptools_scm
__all__ = ["__version__"]
__version__ = "{version}"
"""
[tool.pytest.ini_options]
addopts = "--ignore-glob=*/version.py --ignore-glob=*data_dir/*"
testpaths = "."
asyncio_default_fixture_loop_scope="function"
[tool.black]
line-length = 110
target-version = ["py311"]
[tool.isort]
profile = "black"
line_length = 110
[tool.ruff]
exclude = [
"__init__.py",
"notebooks",
]
ignore = [
"N802",
"N803",
"N806",
"N812",
"N813",
"N815",
"N816",
]
line-length = 110
select = [
"E", # pycodestyle
"F", # pyflakes
"N", # pep8-naming
"W", # pycodestyle
]
target-version = "py311"
extend-select = [
"RUF100", # Warn about unused noqa
]
[tool.ruff.pycodestyle]
max-doc-length = 79
[tool.ruff.pydocstyle]
convention = "numpy"