-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
79 lines (69 loc) · 1.7 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
[build-system]
requires = [
"setuptools>=61.2",
"Cython>=0.29.21",
"setuptools_scm[toml]>=6.4",
"setuptools-cmake-helper>=0.1.1",
]
build-backend = "setuptools.build_meta"
[project]
name = "nod"
authors = [{name = "Henrique Gemignani"}]
description = "Python bindings for the nod library."
license = {text = "License :: OSI Approved :: MIT License"}
classifiers = [
"License :: OSI Approved :: MIT License",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3 :: Only",
"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",
]
requires-python = ">=3.9"
dependencies = []
dynamic = ["version"]
[project.readme]
file = "README.md"
content-type = "text/markdown"
[project.urls]
Homepage = "https://github.com/henriquegemignani/py-nod"
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
]
[tool.setuptools_scm]
local_scheme = "no-local-version"
write_to = "src/nod/version.py"
git_describe_command = "git describe --dirty --tags --long --match v[0-9]*"
[tool.pytest.ini_options]
minversion = "6.0"
xfail_strict = true
filterwarnings = [
"error",
"ignore::DeprecationWarning",
]
[tool.ruff]
line-length = 120
select = [
"E", "F", "W", "C90", "I", "UP", "C4",
"RSE",
"TCH",
"PTH",
"COM818", "COM819",
"ISC",
"PIE",
"PT",
"PLC",
"PLE",
"PLR",
"PLW",
]
# Version to target for generated code.
target-version = "py38"
[tool.black]
line-length = 120
target-version = ['py38', 'py39', 'py310', 'py311']