-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
85 lines (73 loc) · 1.89 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
[build-system]
build-backend = 'setuptools.build_meta'
requires = [
'gmsh<4.12.3',
'meshio<5.3.6',
'pygmsh<7.1.18',
'pyvista[all]<0.44.2',
'scooby<0.9.3',
'setuptools<69.0.4',
'shapely<2.0.6',
]
[project]
dependencies = [
'gmsh<4.12.3',
'meshio<5.3.6',
'pygmsh<7.1.18',
'pyvista[all]<0.44.2',
'scooby<0.9.3',
'shapely<2.0.6',
]
dynamic = ["readme", "version"]
name = "scikit-gmsh"
requires-python = '>=3.9'
[project.optional-dependencies]
docs = [
'myst-parser==4.0.0',
'sphinx-book-theme==1.1.3',
'sphinx-copybutton==0.5.2',
'sphinx-design==0.6.1',
'sphinx-gallery==0.17.1',
'sphinx-toolbox==3.8.0',
'sphinx==8.0.2',
]
test = ['pytest==8.0.0']
[tool.mypy]
enable_error_code = ["ignore-without-code", "redundant-expr", "truthy-bool"]
ignore_missing_imports = true
strict = true
warn_unreachable = true
[tool.poetry]
authors = ["Tetsuo Koyama"]
description = "PyVista accessors for Gmsh to generate 3D finite element mesh"
name = "scikit-gmsh"
readme = "README.md"
version = "0.0.0"
[tool.pytest.ini_options]
addopts = ["--showlocals", "--strict-config", "--strict-markers", "-ra"]
filterwarnings = ["error", 'ignore::DeprecationWarning']
log_cli_level = "info"
minversion = "6.0"
testpaths = ["tests"]
xfail_strict = true
[tool.ruff]
line-length = 150
[tool.ruff.format]
docstring-code-format = true
[tool.ruff.lint]
ignore = ["COM812", "D203", "D212", "ISC001"]
select = ["ALL"]
[tool.ruff.lint.isort]
combine-as-imports = true
force-single-line = true
force-sort-within-sections = true
required-imports = ["from __future__ import annotations"]
[tool.ruff.lint.per-file-ignores]
"docs/**" = ["INP001"]
"examples/**" = ["D205", "D400", "D415", "INP001", "T201"]
"tests/**" = ["INP001", "S101"]
[tool.ruff.lint.pyupgrade]
keep-runtime-typing = true
[tool.setuptools.dynamic]
readme = { file = "README.md", content-type = "text/markdown" }
version = { attr = 'skgmsh.__version__' }