forked from astrodbtoolkit/astrodb_utils
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (57 loc) · 1.58 KB
/
pyproject.toml
File metadata and controls
66 lines (57 loc) · 1.58 KB
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
[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "astrodb_utils"
authors = [
{name = "Arjun Savel", email = "asavel@umd.edu"},
{name= "Kelle Cruz"},
{name= "David Rodriguez"}
]
description = "astrodb_utils: scripts for interacting with the astrodb database"
readme = "README.md"
requires-python = ">=3.9"
keywords = ["databases", "astronomy"]
license = {text = "BSD-3-Clause"}
classifiers = [
"Programming Language :: Python :: 3",
]
dependencies = [
"numpy<2.0",
"astroquery",
"astropy",
"astrodbkit>=2.1",
"lsst-felis",
"pandas",
"tqdm",
"ads",
"dateparser",
]
dynamic = ["version"]
[project.optional-dependencies]
test = [
"pytest",
"ruff",
]
[project.urls]
Homepage = "https://github.com/astrodbtoolkit/astrodb_utils"
Issues = "https://github.com/astrodbtoolkit/astrodb_utils/issues"
Documentation = "https://astrodb-utils.readthedocs.io/en/latest/"
[tool.setuptools_scm]
root = '.'
[tool.pytest.ini_options]
testpaths = ["astrodb_utils/tests"]
norecursedirs = "astrodb-template-db"
[tool.ruff.lint]
# Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
# See https://docs.astral.sh/ruff/rules/
select = ["E4", "E7", "E9", "F", "I", "PL", "C901", "RUF010"]
#select = ["ALL"]
ignore = ["PLR"] # pylint refactor
# Allow fix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
[tool.ruff]
line-length = 120