-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
129 lines (117 loc) · 3.38 KB
/
pyproject.toml
File metadata and controls
129 lines (117 loc) · 3.38 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
[project]
name = "probing"
version = "0.2.4"
description = "Dynamic Performance Profiler for Distributed AI"
readme = "README.md"
authors = [
{ name = "reiase", email = "reiase@gmail.com" }
]
license = { text = "Apache-2.0" }
license-files = ["LICENSE"]
requires-python = ">=3.7"
dependencies = []
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"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 :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Debuggers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS",
]
keywords = ["debug", "performance", "profiling", "ai", "distributed", "monitoring"]
[project.urls]
Homepage = "https://github.com/reiase/probing"
Repository = "https://github.com/reiase/probing"
Documentation = "https://github.com/reiase/probing"
Issues = "https://github.com/reiase/probing/issues"
[project.scripts]
probing = "probing.cli.__main__:main"
[project.optional-dependencies]
test = [
"pytest>=8.0; python_version >= '3.8'",
"pytest<8.0; python_version < '3.8'",
"pytest-cov>=4.0",
"coverage>=7.0",
]
dev = [
"pytest>=8.0; python_version >= '3.8'",
"pytest<8.0; python_version < '3.8'",
"pytest-cov>=4.0",
"coverage>=7.0",
"ruff>=0.1.0",
"black>=24.0; python_version >= '3.8'",
"black<24.0; python_version < '3.8'",
]
[tool.maturin]
module-name = "probing._core"
manifest-path = "Cargo.toml"
python-source = "python"
compatibility = "linux"
bindings = "pyo3"
cargo-extra-args = "--features extension-module"
include = ["probing.pth", "probing_hook.py"]
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[tool.pytest.ini_options]
minversion = "8.0"
testpaths = ["tests", "python/probing"]
pythonpath = ["python"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"--verbose",
"--color=yes",
"--durations=10",
"--showlocals",
"--strict-markers",
"--doctest-modules",
"--ignore=python/probing/cli/__main__.py",
]
norecursedirs = [
".git",
".tox",
".venv",
"venv",
"env",
"dist",
"build",
"__pycache__",
]
markers = [
"integration: marks tests that require integration resources",
"slow: marks tests that are expected to be slow",
"unit: marks tests that can run in isolation",
]
filterwarnings = [
"ignore::DeprecationWarning:pandas.*",
"ignore::DeprecationWarning:numpy.*",
"error::RuntimeWarning",
]
[tool.ruff]
line-length = 88
indent-width = 4
target-version = "py37"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "N", "UP"]
ignore = ["E501", "E402", "F841", "E731", "F401", "E722", "N806", "N801", "N802", "N803"]
[tool.ruff.lint.per-file-ignores]
"examples/*" = ["E722"]
"tests/*" = ["F841"]
[tool.black]
line-length = 88
target-version = ["py37"]
include = '\.pyi?$'