-
Notifications
You must be signed in to change notification settings - Fork 21
/
pyproject.toml
91 lines (81 loc) · 2.31 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
[tool.poetry]
name = "flameshow"
version = "1.1.3"
homepage = "https://github.com/laixintao/flameshow"
description = "A Terminal Flamegraph Viewer"
authors = ["laixintao <[email protected]>"]
maintainers = ["laixintao <[email protected]>"]
readme = "README.md"
license = "GPLv3"
keywords = ["terminal", "golang", "pprof", "flamegraph"]
packages = [{include = "flameshow"}]
include = [
{ path = "docs", format = "sdist" },
{ path = "tests", format = "sdist" },
{ path = "proto", format = "sdist" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: Console :: Curses",
"Intended Audience :: Developers",
"Operating System :: Microsoft :: Windows :: Windows 10",
"Operating System :: Microsoft :: Windows :: Windows 11",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
# "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",
"Typing :: Typed",
]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/laixintao/flameshow/issues"
[tool.poetry.dependencies]
python = "^3.10"
typing-extensions = "^4.7.1"
textual = "^0.37.1"
click = "^8.1.7"
protobuf = "^4.25"
iteround = "^1.0.4"
[tool.poetry.scripts]
flameshow = 'flameshow.main:main'
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.2"
pytest-asyncio = "^0.21.1"
ipdb = "^0.13.13"
flake8 = "^6.1.0"
pytest-cov = "^2.12.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 79
target-version = ['py37']
preview = true
extend-exclude = '''
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
(
.*_pb2.py # exclude autogenerated Protocol Buffer files anywhere in the project
)
'''
[tool.pytest.ini_options]
asyncio_mode = "auto"
[tool.coverage.run]
omit = [
"flameshow/pprof_parser/profile_pb2.py",
"flameshow/exceptions.py",
]
[tool.coverage.report]
exclude_lines = [
'pragma: no cover',
'if TYPE_CHECKING:',
'if __name__ == "__main__":',
'@overload',
'__rich_repr__',
'@abstractmethod',
'NotImplementedError',
]