-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
60 lines (53 loc) · 1.37 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
[project]
name = "py_svg_hush"
version = "0.1.2"
authors = [
{name = "Joshua Munn", email = "[email protected]"},
]
requires-python = ">=3.9"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
license = {file = "LICENSE.txt"}
[project.urls]
homepage = "https://github.com/jams2/py-svg-hush"
documentation = "https://github.com/jams2/py-svg-hush"
repository = "https://github.com/jams2/py-svg-hush"
changelog = "https://github.com/jams2/py-svg-hush/blob/main/CHANGELOG.md"
[project.optional-dependencies]
dev = [
"maturin==1.7.2",
"ruff==0.6.7",
"pytest==8.3.3",
"pip>=24.2", # maturin needs this for dev builds.
]
[tool.ruff]
target-version = "py39"
line-length = 88
src = ["src", "tests"]
[tool.ruff.lint]
select = [
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
"I", # isort
"ARG", # unused arguments
"PT", # pytest style
"T10", # flake8-debugger
"C4", # flake8-comprehensions
]
ignore = [
"UP007", # use X | Y
"UP006", # use dict, list instead of Dict, List
"E501", # line too long
]
[tool.pytest.ini_options]
testpaths = "tests"
minversion = 7.0
[build-system]
requires = ["maturin==1.7.2"]
build-backend = "maturin"
[tool.maturin]
features = ["pyo3/extension-module"]