-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
134 lines (120 loc) · 3.62 KB
/
Copy pathpyproject.toml
File metadata and controls
134 lines (120 loc) · 3.62 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
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
[tool.poetry]
name = "flow360"
version = "25.10.0b1"
description = "Flow360 Python Client"
authors = ["Flexcompute <support@flexcompute.com>"]
packages = [{include = "flow360"}, {include = "flow360_schema"}]
[tool.poetry.dependencies]
python = ">=3.10,<3.14"
pydantic = "<2.12,<3.0,>=2.8"
click = ">=8.1.3,<9.0.0"
toml = ">=0.10.2,<0.11.0"
requests = ">=2.32.4,<2.33.0"
boto3 = ">=1.24.63,<2.0.0"
cryptography = ">=45.0.0,<46.0.0"
numpy = [
{ python = "^3.10", version = ">=2.0,<3.0.0" },
{ python = "^3.11", version = ">=2.0,<3.0.0" },
{ python = "^3.12", version = ">=2.0,<3.0.0" }]
matplotlib = [
{ python = "^3.10", version = ">=3.6.2,<4.0.0" }]
pyyaml = ">=6.0.1,<7.0.0"
rich = ">=13.3.4,<14.0.0"
h5py = ">=3.10.0,<4.0.0"
zstandard = ">=0.21.0,<0.22.0"
unyt = "<4.0.0,>=2.9.0,>=3.0.0"
pandas = ">=2.2.1,<3.0.0"
# docs
autodoc_pydantic = {version="*", optional = true}
jupyter = {version="*", optional = true}
jinja2 = {version = ">=3.1.2", optional = true}
ipython = {version="*", optional = true}
nbconvert = {version = ">=7.11.0", optional = true}
sphinx = {version=">=7,<9", optional = true}
nbsphinx = {version = ">=0.8.7", optional = true}
sphinx-copybutton = {version=">=0.5.2", optional = true}
sphinx-book-theme = {version = ">=1.0.1", optional = true}
pydata-sphinx-theme = {version = ">=0.13.3", optional = true}
sphinx-favicon = {version="*", optional = true}
sphinx-sitemap = {version=">=2.5.1", optional = true}
sphinx-notfound-page = {version="*", optional = true}
sphinx-tabs = {version="*", optional = true}
nbdime = {version="*", optional = true}
myst-parser = {version="*", optional = true}
sphinxemoji = {version="*", optional = true}
readthedocs-sphinx-search = {version="*", optional = true}
cairosvg = {version="*", optional = true }
sphinxcontrib-svg2pdfconverter = {version="*", optional = true}
sphinx-prompt = {version="*", optional = true}
sphinx_design = {version="*", optional = true}
sphinx_toolbox = {version="*", optional = true}
sphinx_paramlinks = {version="*", optional = true}
numpydoc = {version = ">=1.8.0,<2.0.0", optional = true}
numexpr = ">=2.10.1,<3.0.0"
sphinxcontrib-mermaid = {version="*", optional = true}
pylatex = ">=1.4.2,<2.0.0"
prettyprinttree = ">=2.0.1,<3.0.0"
wcmatch = ">=10,<11"
[tool.poetry.group.dev.dependencies]
pytest-asyncio = "^0.20.3"
pytest-cov = "^4.0.0"
autohooks = "^23.4.0"
autohooks-plugin-black = "^22.11.0"
autohooks-plugin-isort = "^22.8.0"
autohooks-plugin-pylint = "^23.10.0"
pytest = "^7.3.0"
pylint = "^3.1.0"
black = "^24.1.0"
notebook = "^7.0.6"
pytest-mock = "^3.14.0"
[tool.poetry.extras]
docs = [
"autodoc_pydantic",
"jupyter",
"jinja2",
"ipython",
"nbconvert",
"sphinx",
"nbsphinx",
"sphinx-copybutton",
"sphinx-book-theme",
"pydata-sphinx-theme",
"sphinx-favicon",
"sphinx-sitemap",
"sphinx-notfound-page",
"sphinx-tabs",
"nbdime",
"myst-parser",
"sphinxemoji",
"readthedocs-sphinx-search",
"cairosvg",
"sphinxcontrib-svg2pdfconverter",
"sphinx-prompt",
"sphinx_design",
"sphinx_toolbox",
"sphinx_paramlinks",
"numpydoc",
"sphinxcontrib-mermaid"
]
[tool.isort]
profile = "black"
[tool.black]
line-length = 100
target-version = ["py310"]
exclude = '''
/(
\.git
)/
'''
[tool.autohooks]
mode = "poetry"
pre-commit = ["autohooks.plugins.black", "autohooks.plugins.isort", "autohooks.plugins.pylint", "flow360._autohooks.sort_json"]
[tool.autohooks.plugins.pylint]
arguments = ["--rcfile=.pylintrc"]
[tool.coverage.run]
relative_files = true
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
flow360 = "flow360.cli:flow360"