-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
98 lines (84 loc) · 2.34 KB
/
pyproject.toml
File metadata and controls
98 lines (84 loc) · 2.34 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "kdumpling"
version = "0.4.0"
description = "A Python library for creating Linux kdump crash dump files"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.8"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: System :: Operating System Kernels :: Linux",
"Topic :: Software Development :: Libraries :: Python Modules",
]
keywords = ["kdump", "vmcore", "linux", "crash", "elf", "coredump"]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pyelftools>=0.29",
"mypy>=1.0",
"ruff>=0.1.0",
"drgn>=0.0.25",
]
[project.urls]
Homepage = "https://github.com/sdimitro/kdumpling"
Repository = "https://github.com/sdimitro/kdumpling"
[tool.setuptools.packages.find]
include = ["kdumpling*"]
[tool.setuptools.package-data]
kdumpling = ["py.typed"]
[tool.ruff]
target-version = "py38"
line-length = 88
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
]
[tool.ruff.lint.isort]
known-first-party = ["kdumpling"]
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_ignores = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
strict_optional = true
[[tool.mypy.overrides]]
module = "elftools.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "drgn.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "kdumpfile.*"
ignore_missing_imports = true
[tool.pyright]
pythonVersion = "3.8"
include = ["kdumpling"]
typeCheckingMode = "standard"
reportMissingImports = true
reportMissingTypeStubs = false
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]