-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (54 loc) · 1.57 KB
/
Copy pathpyproject.toml
File metadata and controls
65 lines (54 loc) · 1.57 KB
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 = ["setuptools>=77"]
build-backend = "setuptools.build_meta"
[project]
name = "freebsd-sysctl"
description = "Native Python wrapper for FreeBSD sysctls using libc."
readme = "README.md"
license = "BSD-2-Clause"
license-files = ["LICENSE.txt"]
authors = [
{name = "Stefan Grönke", email = "stefan@gronke.net"}
]
requires-python = ">=3.10"
keywords = ["FreeBSD", "sysctl"]
classifiers = [
"Operating System :: POSIX :: BSD :: FreeBSD",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Typing :: Typed"
]
dynamic = ["version"]
[project.urls]
Homepage = "https://github.com/gronke/py-freebsd_sysctl"
Changelog = "https://github.com/gronke/py-freebsd_sysctl/blob/main/CHANGELOG.md"
[project.optional-dependencies]
test = [
"pytest",
"pytest-benchmark"
]
[tool.setuptools]
packages = ["freebsd_sysctl"]
platforms = ["FreeBSD"]
[tool.setuptools.dynamic]
version = {attr = "freebsd_sysctl.__version__.__version__"}
[tool.setuptools.package-data]
freebsd_sysctl = ["py.typed"]
[tool.pytest.ini_options]
addopts = "--verbose"
[tool.ruff]
line-length = 79
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "S"]
[tool.ruff.lint.per-file-ignores]
"tests/**" = ["S101", "S603"]
[tool.mypy]
files = ["freebsd_sysctl"]
disallow_untyped_defs = true
warn_redundant_casts = true
warn_unused_ignores = true