-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
pyproject.toml
139 lines (118 loc) · 3.56 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# This file is part of "austin-tui" which is released under GPL.
#
# See file LICENCE or go to http://www.gnu.org/licenses/ for full license
# details.
#
# austin-tui is a Python wrapper around Austin, the CPython frame stack
# sampler.
#
# Copyright (c) 2018-2020 Gabriele N. Tornetta <[email protected]>.
# All rights reserved.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
[project]
authors = [
{name = "Gabriele N. Tornetta", email = "[email protected]"},
]
description = "The top-like text-based user interface for Austin"
license = "GPL-3.0-or-later"
name = "austin-tui"
readme = "README.md"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"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",
]
keywords = ["performance", "profiling", "testing", "development"]
dependencies = [
"austin-python~=1.1",
"importlib_resources~=5.10",
"lxml~=4.8",
"windows-curses~=2.1; sys_platform == 'win32'",
]
requires-python = ">=3.7"
dynamic = ["version"]
[project.urls]
documentation = "https://austin-tui.readthedocs.io"
homepage = "https://github.com/P403n1x87/austin-tui"
issues = "https://github.com/P403n1x87/austin-tui/issues"
repository = "https://github.com/P403n1x87/austin-tui"
[project.scripts]
austin-tui = "austin_tui.__main__:main"
[tool.hatch.envs.tests]
dependencies = [
"pytest>=5.4.2",
"pytest-cov>=2.8.1",
]
template = "tests"
[tool.hatch.envs.tests.scripts]
tests = "pytest --cov=austin --cov-report=term-missing --cov-report=xml {args}"
[[tool.hatch.envs.tests.matrix]]
python = ["3.7", "3.8", "3.9", "3.10", "3.11"]
[tool.hatch.envs.checks]
dependencies = [
"mypy~=0.770",
"flake8~=5.0.4",
"flake8-annotations~=2.9.1",
"flake8-black",
"flake8-bugbear~=22.9.23",
"flake8-docstrings~=1.6.0",
"flake8-import-order~=0.18.1",
"flake8-isort~=5.0.0",
]
python = "3.10"
template = "checks"
[tool.hatch.envs.checks.scripts]
linting = "flake8 {args} austin_tui/ test/ "
typing = "mypy --show-error-codes --install-types --non-interactive {args} austin_tui/ tests/"
[tool.hatch.envs.coverage]
dependencies = [
"coverage[toml]",
"codecov",
]
python = "3.10"
template = "coverage"
[tool.hatch.envs.coverage.scripts]
cov = "coverage xml --fail-under=0"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/docs",
]
[tool.hatch.build.targets.wheel]
packages = ["austin_tui"]
[tool.coverage.run]
branch = true
source = ["austin_tui"]
[tool.coverage.report]
show_missing = true
[tool.isort]
force_single_line = true
lines_after_imports = 2
profile = "black"
[tool.mypy]
exclude = []
ignore_missing_imports = true
[[tool.mypy.overrides]]
ignore_errors = true
module = []
[build-system]
build-backend = "hatchling.build"
requires = ["hatchling", "hatch-vcs"]