-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
97 lines (89 loc) · 2.43 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
[project]
name = "microgen"
version = "1.4.0.dev0"
authors = [{ name = "3MAH", email = 'set3mah@gmail.com' }]
description = "Microstructure generation and meshing"
readme = "README.md"
requires-python = ">=3.9,<3.13"
keywords = ["microstructure", "lattice", "periodic", "TPMS", "mesh"]
license = { text = "GPLv3" }
classifiers = [
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Information Analysis',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: MacOS',
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"cadquery>=2.5.0,<2.6",
"gmsh>=4.13.1,<5",
"meshio>=5.3.5,<6",
"numpy>1.24.0,<3",
"pyvista>=0.44.2,<0.45",
"scipy>=1.13.1,<1.16",
]
[project.optional-dependencies]
dev = [
'pre-commit>=3.5.0',
"ruff>=0.8.1",
"pytest>=8.3.3",
"pytest-cov>=5.0.0",
"pytest-xdist>=3.6.1",
]
docs = [
"ipykernel>=6.29.5",
"sphinx>=7.1.2",
"sphinx-rtd-theme>=3.0.2",
"sphinxcontrib-napoleon>=0.7",
"jupyter-sphinx>=0.5.3",
"pythreejs>=2.4.2",
"mock>=5.1.0",
"myst-parser>=3.0.1",
]
jupyter = [
"jupyterlab>=3.6.8,<4.3",
"jupyter-cadquery>=2.2.1",
"ipyvtklink>=0.2.3",
"ipygany>=0.5.0",
"sidecar>=0.5.2",
"jupyterview>=0.7.0",
]
all = ["microgen[dev, docs, jupyter]"]
[project.urls]
Documentation = 'https://microgen.readthedocs.io/en/latest'
"Bug Tracker" = 'https://github.com/3MAH/microgen/issues'
"Source Code" = 'https://github.com/3MAH/microgen'
[tool.setuptools]
packages = ["microgen", "microgen.shape"]
[tool.pytest.ini_options]
filterwarnings = [
# Ignore deprecation warnings from numpy
"ignore:.* is a deprecated alias for .*:DeprecationWarning",
]
[[tool.mypy.overrides]]
module = ["gmsh", "scipy.spatial"]
ignore_missing_imports = true
[tool.ruff]
target-version = "py38"
[tool.ruff.lint]
exclude = [
"docs/*",
"tests/*",
"microgen/box_mesh.py",
"microgen/external.py",
"microgen/mesh.py",
"microgen/operations.py",
"microgen/periodic.py",
"microgen/phase.py",
"microgen/remesh.py",
"microgen/report.py",
"microgen/rve.py",
"microgen/single_mesh.py",
"examples/*",
] # external = ["E131", "D102", "D105"]
select = ["ALL"]
ignore = ["E501", "S101", "ANN101", "ANN102", "ANN003"]