-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
113 lines (102 loc) · 2.61 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build]
include = ["feniax/*"]
[project]
name = "FENIAX"
version = "0.1.0"
description = "Nonlinear Aeroelastic solver written in JAX."
authors = [{ name = "Alvaro Cea", email = "[email protected]" }]
readme = "README.md"
requires-python = ">=3.10"
#license = { file = "LICENSE" }
keywords = [
"aircraft analysis",
"industrial aeroelasticity",
"nonlinear dynamics",
"differentiable dynamics",
"jax",
]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
#"Intended Audience :: Science/research",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
#"License :: OSI Approved :: GNU GPL3",
"Programming Language :: Python :: 3",
#"Operating System :: Unix/MacOs",
#"Topic :: Scientific/Engineering :: Aeroelasticity",
]
urls = {repository = "https://github.com/ACea15/FENIAX" }
dependencies = ["numpy",
"scipy",
"pandas",
#"PyYAML",
"ruamel.yaml",
"jax<=0.4.31",
"jaxlib",
"diffrax",
"jaxopt",
"tabulate",
"multipledispatch",
"pyNastran"
]
[project.optional-dependencies]
dev = ["pytest","pytest-cov", "pre-commit"]
postprocessing = ["matplotlib",
"plotly",
"pyvista",
"streamlit",
"kaleido",
"stpyvista",
"streamlit-pdf-viewer"
]
all = ["pytest",
"pytest-cov",
"pre-commit",
"matplotlib",
"plotly",
"pyvista",
"streamlit",
"kaleido",
"stpyvista",
"streamlit-pdf-viewer"
]
[tool.ruff]
line-length = 100
src = ["feniax", "tests"]
[tool.ruff.lint]
# fixable = ["I001", "F401"]
#ignore = ["E402", "E721", "E731", "E741", "F722"]
ignore-init-module-imports = true
select = ["E", "F", "I", "D"]
[tool.ruff.lint.isort]
combine-as-imports = true
lines-after-imports = 2
order-by-type = true
[tool.ruff.lint.pydocstyle]
convention = "numpy" # Accepts: "google", "numpy", or "pep257".
[tool.ruff.format]
#quote-style = "single"
#indent-style = "space"
docstring-code-format = true
[tool.mypy]
# allow_untyped_defs = True
# allow_untyped_calls = True
# disable_error_code = no-untyped-call
# files = ["feniax", "tests"]
# [[tool.mypy.overrides]]
# module = "feniax.simulations"
# ignore_missing_imports = true
#ignore_missing_imports = True
[tool.pylsp-mypy]
enabled = true
live_mode = true
strict = true
include = ["feniax"]
exclude = ["tests/*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.coverage.run]
omit = ["*/plotools/*"]