-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
42 lines (36 loc) · 1.08 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
[build-system]
requires = ["flit_core"]
build-backend = "flit_core.buildapi"
[project]
name = "tofea"
authors = [{ name = "Yannick Augenstein" }]
description = "Simple Finite Element Analysis for Topology Optimization"
license = { file = "LICENSE" }
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dynamic = ["version"]
requires-python = ">=3.10,<=3.12"
dependencies = ["numpy", "scipy", "sympy", "autograd"]
[project.optional-dependencies]
tests = ["pytest", "pytest-cov"]
examples = ["nlopt", "matplotlib"]
all = ["tofea[tests,examples]"]
dev = ["tofea[all]", "ruff", "mypy", "pre-commit"]
[project.urls]
Source = "https://github.com/mrbaozi/tofea"
[tool.ruff]
select = ["E", "W", "F", "B", "I", "UP", "C4", "NPY", "PT", "SIM", "ARG", "PERF", "PTH"]
fixable = ["ALL"]
ignore = ["F821"]
unfixable = ["F401", "F841"]
line-length = 88
target-version = "py310"
[tool.mypy]
mypy_strict = true
python_version = "3.10"
ignore_missing_imports = true
[tool.pytest.ini_options]
filterwarnings = ["ignore::DeprecationWarning"]