-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (90 loc) · 2.14 KB
/
pyproject.toml
File metadata and controls
100 lines (90 loc) · 2.14 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
[build-system]
requires = ["setuptools>=61", "wheel", "tomli;python_version<'3.11'", "setuptools_scm>8"]
build-backend = "setuptools.build_meta"
[project]
name = "imas-paraview"
authors = [{name = "ITER Organization", email = "[email protected]"}]
description = "Tool to convert IMAS Generalized Grid Description (GGD) structures to VTK, together with a few plugins to visualize GGD and non-GGD IMAS data in ParaView."
readme = {file = "README.md", content-type = "text/markdown"}
license = {file = "LICENSE.txt"}
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dynamic = ["version"]
requires-python = ">=3.8"
dependencies = [
"numpy >= 1.19.4",
"vtk >= 9.1.0",
"imas-python[netcdf] >= 2.0.0",
]
[project.optional-dependencies]
all = [
"imas_paraview[docs,test,linting,benchmark]"
]
docs = [
"sphinx>=6.0.0,<7.0.0",
"sphinx-autosummary-accessors>=0.1.2",
"sphinx_immaterial>=0.11.0,<0.12",
"recommonmark>=0.6",
]
linting = [
"ruff",
]
test = [
"pytest>=6",
"pytest-cov>=0.6",
"pytest-xdist",
"pytest-randomly",
]
benchmark=[
"asv == 0.6.1",
"virtualenv",
]
[project.scripts]
imas-paraview = "imas_paraview.cli:cli"
ggd2vtk = "imas_paraview.cli:convert_ggd_to_vtk"
vtk2ggd = "imas_paraview.cli:convert_vtk_to_ggd"
[project.urls]
homepage = "https://github.com/iterorganization/IMAS-ParaView"
[tool.setuptools.packages.find]
where = ["."]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "--strict-markers"
markers = ["integration","external_data"]
testpaths = "imas_paraview/tests"
[tool.setuptools_scm]
write_to = "imas_paraview/_version.py"
local_scheme = "no-local-version"
[tool.ruff]
exclude = ["imas_paraview/_version.py"]
[tool.ruff.lint]
select = [
# pycodestyle
"E",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# flake8-comprehensions
"C4",
# flake8-logging
"LOG",
# flake8-logging-format
"G",
# flake8-tidy-imports
"TID",
# flake8-use-pathlib
"PTH",
# Refurb
"FURB",
# Ruff specific rules
"RUF",
]