-
Notifications
You must be signed in to change notification settings - Fork 67
/
pyproject.toml
109 lines (97 loc) · 2.21 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "dymos"
dynamic = ["version"]
description = "Open-Source Optimization of Dynamic Multidisciplinary Systems"
readme = "readme.md"
license = "Apache-2.0"
requires-python = ">=3.9"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering",
]
dependencies = [
"numpy",
"openmdao>=3.27.0",
"scipy",
]
[project.optional-dependencies]
all = [
"dymos[docs]",
"dymos[notebooks]",
"dymos[test]",
"dymos[numba]",
]
docs = [
"bokeh",
"ipython",
"jax",
"jaxlib",
"jupyter",
"jupyter-book==0.14",
"matplotlib",
"nbconvert",
"notebook",
"numpydoc>=1.1",
"redbaron",
"tabulate",
]
notebooks = [
"ipython",
"notebook",
"tabulate",
]
test = [
"pre-commit",
"aiounittest",
"matplotlib",
"numpydoc>=1.1",
"packaging",
"playwright>=1.20",
"pycodestyle",
"testflo>=1.3.6",
]
numba = [
"numba",
]
[project.entry-points.openmdao_report]
"dymos.linkage" = "dymos.visualization.linkage.report:_linkage_report_register"
[project.urls]
Homepage = "https://github.com/OpenMDAO/dymos"
[tool.hatch.version]
path = "dymos/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/dymos",
]
[tool.ruff]
line-length = 100
indent-width = 4
[tool.ruff.format]
indent-style = "space"
line-ending = "lf"
[tool.ruff.lint]
select = ["E", "F"]
preview = false
[tool.ruff.lint.pycodestyle]
max-line-length = 130
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.per-file-ignores]
# Ignore `F401` (unused import) in api files.
"__init__.py" = ["F401"]
# Ignore import related conventions in docs
"**/dymos_book/**" = ["E402", "E501"]
# Ignore Test classifiers
"test_*.py" = ["D", "E", "F"]