-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
111 lines (100 loc) · 2.38 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
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "foamlib"
description = "A Python interface for interacting with OpenFOAM"
readme = "README.md"
requires-python = ">=3.7"
authors = [{name = "Gabriel S. Gerlero", email = "[email protected]"}]
classifiers = [
"Development Status :: 4 - Beta",
"Framework :: AsyncIO",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: POSIX",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"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",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
"Typing :: Typed",
]
dependencies = [
"aioshutil>=1,<2",
"pyparsing>=3,<4",
"typing-extensions>=4,<5; python_version<'3.11'",
]
dynamic = ["version"]
[project.optional-dependencies]
numpy = [
"numpy>=1.25.0,<3; python_version>='3.10'",
"numpy>=1,<3"
]
lint = ["ruff"]
test = [
"foamlib[numpy]",
"pytest>=7,<9",
"pytest-asyncio>=0.21,<0.25",
"pytest-cov",
]
typing = [
"foamlib[test]",
"mypy>=1,<2",
]
docs = [
"foamlib[numpy]",
"sphinx>=5,<9",
"sphinx_rtd_theme",
]
dev = [
"foamlib[numpy]",
"foamlib[lint]",
"foamlib[test]",
"foamlib[typing]",
"foamlib[docs]",
]
[project.urls]
Homepage = "https://github.com/gerlero/foamlib"
Repository = "https://github.com/gerlero/foamlib"
Documentation = "https://foamlib.readthedocs.io"
[tool.setuptools.dynamic]
version = {attr = "foamlib.__version__"}
[tool.setuptools.package-data]
"foamlib" = ["py.typed"]
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function"
[tool.mypy]
packages = [
"foamlib",
"tests",
]
strict = true
[tool.ruff.lint]
extend-select = ["ALL"]
extend-ignore = [
"ANN401",
"ARG004",
"C901",
"COM812",
"E501",
"ISC001",
"PLR0911",
"PLR0912",
"PLR0913",
"PLR0915",
"PLR2004",
"PYI041",
"S101",
"S603",
"SLF001",
"TID252",
]
[tool.ruff.lint.pydocstyle]
convention = "pep257"