-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
118 lines (109 loc) · 2.62 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[project]
name = "gustaf"
authors = [
{name = "Jaewook Lee", email = "jaewooklee042@gmail.com"}
]
description = "Process and visualize numerical-analysis-geometries."
keywords = [
"numerical-analysis",
"geometry",
"visualization",
"mesh",
]
requires-python = ">=3.8"
license = {file = "LICENSE.txt"}
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Natural Language :: English",
"Topic :: Scientific/Engineering",
]
dependencies = [
"numpy",
]
dynamic = ["version"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.optional-dependencies]
all = [
"vedo>=2023.5.0",
"scipy",
"meshio",
"napf>=0.0.5",
"funi>=0.0.1",
"requests",
"ipywidgets",
"k3d",
]
test = [
"pytest",
"funi>=0.0.1",
"napf>=0.0.5",
]
dev = [
"pytest",
"funi",
"napf",
"vedo>=2023.5.0",
"scipy",
"meshio",
"requests",
"pre-commit",
"ipywidgets",
"k3d",
]
[tool.setuptools]
packages = [
"gustaf",
"gustaf.io",
"gustaf.utils",
"gustaf.create",
"gustaf.helpers"
]
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools.dynamic]
version = {attr = "gustaf._version.version"}
[tool.ruff]
line-length = 79
target-version = "py38"
[tool.ruff.lint]
select = [
"E", "F", "W", # flake8
"B", # flake8-bugbear
"ARG", # flake8-unused-arguments
"C4", # flake8-comprehensions
"PL", # pylint
"SIM", # flake8-simplify
"T20", # flake8-print
"NPY", # numpy specific rules
"I", # isort specific rules
"UP", # pyupdate specific rules
"C400","C401","C402","C403","C404","C405", # additional pyupgrade rules
"FURB", # refurb items
"YTT", # flake8 check version comparison mistakes
"A", # flake8-builtins
]
fixable = ["ALL"]
ignore = [
"PLR2004", # TODO!
"PLR0912", # Too many branches
"PLR0913", # Too many arguments to function call
"PLR0915", # Too many statements
"B904", # Within an `except` clause, raise exceptions with ...
]
[tool.ruff.lint.per-file-ignores]
"setup.py" = ["T201"]
"examples/*.py" = ["T201"]
"tests/*.py" = ["T201", "B018"]
[tool.codespell]
ignore-words-list = "connec"
skip="./docs/source/_generated/**,./docs/build/*,./build/*"