-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
65 lines (59 loc) · 1.5 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
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "landlock"
authors = [{name = "Edward Knight", email = "[email protected]"}]
readme = "README.md"
license = {file = "LICENSE"}
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Security",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Operating System Kernels :: Linux",
]
requires-python = ">=3.8"
dynamic = ["version", "description"]
[project.urls]
Home = "https://github.com/Edward-Knight/landlock"
[project.optional-dependencies]
deploy = [
"build ~= 0.8",
"twine ~= 4.0",
]
dev = [
"pre-commit ~= 2.20",
"landlock[test]",
]
test = [
"pytest ~= 8.1",
"pytest-cov ~= 5.0",
"pytest-forked ~= 1.6 ; sys_platform != 'win32'",
]
[tool.coverage.run]
branch = true
source = ["landlock"]
[tool.isort]
profile = "black"
[tool.pytest.ini_options]
addopts = [
"--strict-config",
"--strict-markers",
"--cov",
"--cov-config=pyproject.toml", # explicitly required to workaround bug pytest-cov#168 (or #479)
"--cov-report=html",
"--cov-report=term",
"--junit-xml=junit.xml",
]
log_file_level = "DEBUG"
junit_family = "xunit2"
required_plugins = [
"pytest-cov",
]
xfail_strict = true
filterwarnings = "error"