-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
68 lines (60 loc) · 1.27 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
[project]
name = "defity"
description = "Speedy library to detect file type from initial part of file content"
readme = "README.rst"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Rust",
"Operating System :: POSIX :: Linux",
"License :: OSI Approved :: Apache Software License",
]
dynamic = ["version"]
authors = [
{name = "Nguyễn Hồng Quân", email = "[email protected]"},
]
dependencies = []
[dependency-groups]
dev = [
"maturin<2.0.0,>=1.8.0",
"pytest-mypy<1.0.0,>=0.10.3",
"sphinx<9.0.0,>=8.1.3",
"ruff<1.0.0,>=0.8.4",
]
[build-system]
requires = ["maturin>=1.8,<2.0"]
build-backend = "maturin"
[tool.maturin]
sdist-include = ["Cargo.lock"]
strip = true
[tool.ruff]
line-length = 120
target-version = "py312"
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
"*/static/CACHE/*",
]
[tool.pytest.ini_options]
minversion = "8.0"
norecursedirs = "__pypackages__ _build"