-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
102 lines (88 loc) · 1.88 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "es-peek"
dynamic = ["version"]
description = "Peek into elasticsearch clusters"
readme = "README.rst"
license = "MIT"
requires-python = ">=3.8"
authors = [
{ name = "Yang Wang", email = "[email protected]" },
]
keywords = [
"cli",
"elasticsearch",
"peek",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
dependencies = [
"configobj~=5.0.6",
"elastic-transport~=8.12.0",
"keyring~=23.5.0",
"prompt-toolkit~=3.0.29",
"Pygments~=2.11.2",
"urllib3~=1.26.9",
]
[project.optional-dependencies]
full = [
"kerberos~=1.3.1",
"pyperclip~=1.8.2",
]
[project.scripts]
peek = "peek.cli:main"
[project.urls]
Homepage = "https://github.com/ywangd/peek"
[tool.hatch.version]
path = "peek/__init__.py"
[tool.hatch.build.targets.sdist]
include = [
"/peek",
]
[tool.hatch.build.targets.wheel]
packages = ["peek"]
[tool.hatch.envs.default]
dependencies = [
"coverage[toml]>=6.5",
"pytest",
"black"
]
[tool.hatch.envs.lint]
detached = true
dependencies = [
"black>=23.1.0",
"mypy>=1.0.0",
"ruff>=0.0.243",
]
[tool.hatch.envs.lint.scripts]
typing = "mypy --install-types --non-interactive {args:src/sneaky tests}"
style = [
"ruff {args:.}",
"black --check --diff {args:.}",
]
fmt = [
"black {args:.}",
"ruff --fix {args:.}",
"style",
]
all = [
"style",
"typing",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.black]
target-version = ["py38"]
line-length = 120
skip-string-normalization = true
[tool.usort]