-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
117 lines (104 loc) · 2.95 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "goats"
description = "Gemini Observation and Analysis of Targets System."
readme = "README.md"
authors = [{ name = "GOATS Team" }]
classifiers = [
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Astronomy",
]
requires-python = ">=3.10.0"
dependencies = [
"astropy>=5.3,<6",
"antares-client",
"tomtoolkit>=2.19.7,<3",
"click>=8.1.7,<9",
"django-cors-headers>=4.3.0,<5",
"django-cryptography>=1.1,<2",
"channels[daphne]>=4.0,<5",
"channels_redis>=4.0.0,<5",
"django>=4,<5",
"djangorestframework>=3.14.0,<4",
"dramatiq[redis, watch]>=1.17.0",
"django-dramatiq>=0.11.6",
"dramatiq-abort>=1.1.0",
"numpydoc>=1.7.0,<2",
]
version = "25.1.0-alpha.1"
[project.urls]
"Homepage" = "https://github.com/gemini-hlsw/goats"
[project.optional-dependencies]
test = [
"pytest",
"pytest-xdist",
"pytest-cov",
"pytest-django",
"pytest-asyncio",
"factory_boy",
"pytest-remotedata",
"ruff"
]
[tool.setuptools.packages.find]
where = ["src"]
[project.scripts]
goats = "goats_cli:cli"
[tool.setuptools.package-data]
"goats_tom.templates" = ["**/*.html"]
"goats_tom.static" = ["**/*.*"]
"goats_setup.templates" = ["**/*.tmpl"]
[tool.pytest.ini_options]
testpaths = ["tests/unit"]
DJANGO_SETTINGS_MODULE = "goats_tom.tests.settings"
norecursedirs = "tests/unit/goats_tom/ocs"
asyncio_default_fixture_loop_scope = "session"
# addopts = "-r A -v -n auto --cov=src --cov-report=term --cov=tests --cov-branch"
[tool.towncrier]
version = ""
package_dir = "goats"
filename = "CHANGES.md"
directory = "doc/changes"
start_string = "<!-- towncrier release notes start -->\n"
underlines = ["", "", ""]
title_format = "## GOATS {version} ({project_date})"
issue_format = "[[#{issue}](https://noirlab.atlassian.net/browse/{issue})]"
template = "doc/changes/template.jinja"
[[tool.towncrier.type]]
directory = "new"
name = "New Features"
showcontent = true
[[tool.towncrier.type]]
directory = "change"
name = "Changes"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "perf"
name = "Enhancements"
showcontent = true
[[tool.towncrier.type]]
directory = "other"
name = "Other"
showcontent = true
[tool.ruff]
extend-exclude = ["src/goats_tom/migrations", "tests", "src/goats_tom/facilities/gemini.py", "src/goats_tom/tests/settings.py", "src/goats_tom/tests/urls.py"]
target-version = "py310"
[tool.ruff.lint]
select = ['E', 'F', 'W', 'A', 'PLC', 'PLE', 'PLW', 'I']
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = true
docstring-code-line-length = "dynamic"