-
Notifications
You must be signed in to change notification settings - Fork 14
/
pyproject.toml
64 lines (57 loc) · 1.64 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
[build-system]
requires = ["setuptools", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[project]
name = "cwrap"
description = "cwrap - ctypes blanket"
authors = [
{ name = "Equinor ASA", email = "[email protected]" },
]
requires-python = ">=3.10"
readme = "README.md"
license = { text = "GPL-3.0" }
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Other Environment",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
]
dynamic = ["version"]
dependencies = []
[project.urls]
Repository = "https://github.com/equinor/cwrap"
[tool.setuptools]
package-dir = {"" = "src"}
platforms = ["all"]
[tool.setuptools_scm]
write_to = "src/cwrap/version.py"
[tool.ruff]
src = ["src"]
line-length = 88
exclude = ["examples"]
[tool.ruff.lint]
select = [
"W", # pycodestyle
"I", # isort
"B", # flake-8-bugbear
"SIM", # flake-8-simplify
"F", # pyflakes
"UP", # pyupgrade
"PL", # pylint
]
ignore = ["PLW2901", # redefined-loop-name
"PLR2004", # magic-value-comparison
"PLR0915", # too-many-statements
"PLR0912", # too-many-branches
"PLR5501", # collapsible-else-if
"PLR0911", # too-many-return-statements
]