forked from fast-aircraft-design/FAST-OAD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
141 lines (127 loc) · 4.04 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
[tool.poetry]
name = "FAST-OAD-core"
version = "1.4.2" # This version number is overwritten by GitHub packaging workflow but setting this version here will allow installation of CS25 models in development mode
description = "FAST-OAD is a framework for performing rapid Overall Aircraft Design"
readme = "README.md"
authors = [
"Christophe DAVID <[email protected]>",
"Scott DELBECQ <[email protected]>"
]
packages = [
{ include = "fastoad", from = "src" },
]
exclude = ["**/tests/**"]
homepage = "https://github.com/fast-aircraft-design/FAST-OAD"
keywords = [
"aircraft",
"design",
"multi-disciplinary"
]
license = "GPL-3.0-only"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering :: Physics"
]
[tool.poetry.dependencies]
# IMPORTANT: when modifying this list, docs/requirements.txt must be updated for
# ReadTheDocs to be able to compile the documentation.
# A pre-commit hook has been added to do this task. As a result, any modification
# of poetry.lock file will modify docs/requirements.txt and make
# the commit fail because "files were modified by this hook". In that case,
# doing again the commit including changes in docs/requirements.txt will succeed.
python = "^3.8"
numpy = "^1.22.0"
scipy = "^1.9.3"
pandas = "^1.3.4"
openmdao = "^3.18"
ipopo = "^1.0.0"
ipywidgets = "^7.7.0"
ipysheet = ">=0.5.0, <1"
plotly = "^5.0.0"
wop = "^2.2.0"
lxml = "^4.6.5"
tomlkit = ">=0.5.3, <1"
"ruamel.yaml" = ">=0.15.78, <0.18"
jsonschema = ">=3.2.0, <5"
ensure = "^1.0.0"
tabulate = ">=0.8.9, <1"
aenum = "^3.1.0"
jupyterlab = "^3.3.0"
notebook = "^6.0"
stdatm = "0.*"
Deprecated = "^1.2.13"
click = "^8.0.3"
importlib-metadata = { version = "^4.2", python = "<3.10" }
mpi4py = {version = "^3", optional = true}
pyDOE2 = "^1.3.0"
[tool.poetry.extras]
mpi4py = ["mpi4py"]
[tool.poetry.group.dev.dependencies]
fast-oad-cs25 = ">=0.2"
matplotlib = "^3.5.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.2"
pytest-cov = "^4.0"
coverage = { extras = ["toml"], version = "^7.0" }
nbval = "^0.10"
[tool.poetry.group.doc.dependencies]
sphinx = "^4.1.2"
sphinx-rtd-theme = "^1.0"
sphinxcontrib-bibtex = "^2.3.0"
[tool.poetry.group.lint.dependencies]
pre-commit = "^2.14.1"
black = { version = "21.9b0", extras = ["jupyter"], allow-prereleases = true }
pylint = "^2.10.2"
flake8 = "^4.0.1"
nbstripout = "^0.6.0"
[tool.poetry.scripts]
fastoad = "fastoad.cmd.cli:fast_oad"
fast-oad = "fastoad.cmd.cli:fast_oad"
[tool.poetry.plugins."fastoad.plugins"]
"bundled" = "fastoad"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.black]
line-length = 100
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--cov fastoad --cov-report term-missing --cov-report html --verbose"
testpaths = ["src", "tests"]
norecursedirs = ["dist", "build", ".tox", ".ipynb_checkpoints"]
[tool.coverage.run]
branch = true
source = ["fastoad"]
omit = ["*/test/*", "*/tests/*"]
[tool.coverage.paths]
source = ["src/", "*/site-packages/"]
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_lines = [
# Have to re-enable the standard pragma
"pragma: no cover",
# Don't complain about missing debug-only code:
"def __repr__",
"if self.debug",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ = = .__main__.:"
]