-
-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathpyproject.toml
More file actions
146 lines (132 loc) · 3.34 KB
/
pyproject.toml
File metadata and controls
146 lines (132 loc) · 3.34 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
135
136
137
138
139
140
141
142
143
144
145
146
[build-system]
requires = [
"fenics-dolfinx",
"mpi4py",
"nanobind",
"petsc4py",
"scikit-build-core[pyproject]"
]
build-backend = "scikit_build_core.build"
[project]
name = "multiphenicsx"
version = "0.4.dev1"
authors = [
{name = "Francesco Ballarin", email = "francesco.ballarin@unicatt.it"},
]
maintainers = [
{name = "Francesco Ballarin", email = "francesco.ballarin@unicatt.it"},
]
description = "Easy prototyping of multiphysics problems on conforming meshes in FEniCSx"
readme = "README.md"
license = "LGPL-3.0-or-later"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Libraries :: Python Modules"
]
dependencies = [
"fenics-dolfinx >= 0.11.0.dev0",
"mpi4py",
"numpy >= 1.21.0",
"petsc4py"
]
[project.urls]
homepage = "https://multiphenics.github.io"
repository = "https://github.com/multiphenics/multiphenicsx"
issues = "https://github.com/multiphenics/multiphenicsx/issues"
funding = "https://github.com/sponsors/francesco-ballarin"
[project.optional-dependencies]
docs = [
"sphinx"
]
lint = [
"clang-format",
"cmakelang",
"isort",
"mypy",
"nbqa",
"ruff",
"yamllint"
]
tests = [
"coverage[toml]",
"nbvalx[unit-tests] >= 0.4.0",
"pytest",
"scipy"
]
tutorials = [
"gmsh",
"nbvalx[notebooks] >= 0.4.0",
"scipy",
"slepc4py",
"sympy",
"viskex[backend-dolfinx]"
]
[tool.isort]
line_length = 120
multi_line_output = 4
order_by_type = false
[tool.mypy]
check_untyped_defs = true
disallow_any_unimported = true
disallow_untyped_defs = true
implicit_reexport = true
no_implicit_optional = true
pretty = true
show_error_codes = true
strict = true
warn_return_any = true
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = [
"dolfinx.cpp",
"gmsh",
"ipyparallel",
"matplotlib",
"matplotlib.*",
"mpl_toolkits.*",
"plotly",
"plotly.*",
"scipy",
"scipy.*",
"slepc4py",
"slepc4py.SLEPc",
"sympy",
"ufl"
]
ignore_missing_imports = true
[tool.nbqa.process_cells]
mypy = ["register_current_parameters"]
ruff = ["register_current_parameters"]
[tool.pytest.ini_options]
[tool.ruff]
line-length = 120
[tool.ruff.lint]
select = ["ANN", "D", "E", "F", "FLY", "ICN", "N", "NPY", "Q", "RUF", "UP", "W"]
ignore = []
exclude = ["*.ipynb"]
[tool.ruff.lint.per-file-ignores]
"multiphenicsx/**/__init__.py" = ["F401"]
"multiphenicsx/fem/petsc.py" = ["N801", "N802", "N803", "N806"]
"tests/unit/fem/*.py" = ["N802", "N803", "N806"]
"tutorials/**/tutorial_*.py" = ["D100", "E741", "N802", "N803", "N806", "N816"]
[tool.ruff.lint.pycodestyle]
max-doc-length = 120
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.scikit-build]
cmake.source-dir = "multiphenicsx/cpp"
wheel.packages = ["multiphenicsx"]