-
Notifications
You must be signed in to change notification settings - Fork 119
Expand file tree
/
Copy pathpyproject.toml
More file actions
87 lines (75 loc) · 1.58 KB
/
pyproject.toml
File metadata and controls
87 lines (75 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[build-system]
requires = ["hatchling", "numpy>=2.0"]
build-backend = "hatchling.build"
[project]
name = "aviary"
dynamic = ["version"]
readme = "README.md"
license = "Apache-2.0"
requires_python = ">=3.10"
dependencies = [
"dymos>=1.14.0",
"hvplot",
"importlib_resources",
"matplotlib",
"openmdao>=3.43.0",
"pandas",
"panel>=1.0.0",
"parameterized",
]
[project.optional-dependencies]
docs = [
"jupyter-book<2",
"itables"
]
dev = [
"pre-commit",
"testflo",
"ambiance",
"openaerostruct",
]
all = [
"aviary[docs]",
"aviary[dev]",
]
[project.scripts]
aviary = "aviary.interface.cmd_entry_points:aviary_cmd"
[project.entry-points.openmdao_report]
aviary_reports = "aviary.interface.reports:register_custom_reports"
[tool.hatch.version]
path = "aviary/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/aviary",
]
[tool.ruff]
line-length = 100
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
# isort, pydocstyle
extend-select = ["I", "D"]
# disabling these rules help current Aviary code pass a lint check
extend-ignore = [
"D100",
"D101",
"D102",
"D103",
"D104",
"D105",
"D106",
"D204",
"D205",
"D401",
"D404",
]
[tool.ruff.lint.isort]
split-on-trailing-comma = false
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.per-file-ignores]
# Ignore `F401` (unused import) in api and doc files.
# Ignore `I001` (sort and format imports) in api.
# Ignore `E402` (module import not at top of file) for doc cells.
"api.py" = ["F401", "I001"]
"*.ipynb" = ["F401", "E402"]