-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
111 lines (96 loc) · 2.58 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
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
99
100
101
102
103
104
105
106
107
108
109
110
111
[tool.poetry]
name = "einspect"
version = "0.5.16"
packages = [{ include = "einspect", from = "src" }]
description = "Extended Inspect - view and modify memory structs of runtime objects."
authors = ["ionite34 <dev@ionite.io>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/ionite34/einspect"
repository = "https://github.com/ionite34/einspect"
documentation = "https://docs.ionite.io/einspect"
keywords = [
"einspect",
"inspect",
"inspections",
"extensions",
"inspect-extensions",
"ctypes",
"ctypes-extensions",
"pointers",
"structs",
"memory",
"mutate",
"setattr",
"modify",
]
classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Debuggers",
"Typing :: Typed",
]
[tool.poetry.dependencies]
python = ">=3.8,<3.13"
typing-extensions = "^4.4.0"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.2"
pytest-cov = "^4.0.0"
pytest-xdist = "^3.1.0"
mypy = ">=0.991,<1.2"
pre-commit = "^2.20.0"
black = "^23.1.0"
ruff = ">=0.0.247,<0.0.264"
# tools group only required for running the tools package
# requests used for checking source compatibility with CPython source
[tool.poetry.group.tools.dependencies]
rich = "^12.6.0"
typer = "^0.7.0"
requests = "^2.28.2"
[tool.poetry.group.dev-extras.dependencies]
jupyter = "^1.0.0"
[tool.poetry.group.ci.dependencies]
typing-extensions = "^4.4.0"
pytest = "^7.2.2"
[tool.poetry.group.ci-cov.dependencies]
typing-extensions = "^4.4.0"
pytest = "^7.2.2"
pytest-cov = "^4.0.0"
[tool.poetry.group.docs.dependencies]
Sphinx = ">4.0.0,<6.0.0"
myst-parser = "^0.18.1"
sphinx-copybutton = "^0.5.1"
furo = "^2022.12.7"
sphinx-autodoc-typehints = "^1.21.8"
[tool.ruff]
ignore = ["F842", "A003", "F403", "F405"]
line-length = 120
fixable = ["F"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"@overload",
"@abstractmethod",
"if TYPE_CHECKING:",
"log.debug",
]
[tool.isort]
skip = ["einspect/structs/__init__.py"]
[tool.pytest.ini_options]
markers = [
"run_in_subprocess: Run marked test in a subprocess",
]
filterwarnings = [
"always",
"ignore:.*pkg_resources\\.declare_namespace.*:DeprecationWarning",
]
[tool.mypy]
python_version = 3.11
allow_redefinition = true
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"