-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
100 lines (89 loc) · 2.19 KB
/
Copy pathpyproject.toml
File metadata and controls
100 lines (89 loc) · 2.19 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
[build-system]
requires = ["setuptools>=77.0.3"]
build-backend = "setuptools.build_meta"
[project]
name = "pg-diag"
version = "0.10.8"
description = "PostgreSQL diagnostics with host metrics and portable JSON/HTML reports"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT AND BSD-3-Clause AND Apache-2.0"
license-files = [
"LICENSE",
"src/pg_diag/render/vendor/*LICENSE*",
"src/pg_diag/render/vendor/*NOTICE*",
"src/pg_diag/render/vendor/THIRD_PARTY_LICENSES.txt",
]
authors = [
{ name = "O2eg", email = "oleg.ispu@gmail.com" },
]
keywords = ["postgresql", "diagnostics", "dba"]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: System Administrators",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Topic :: Database",
"Topic :: System :: Systems Administration",
]
dependencies = [
"PyYAML>=6.0,<7",
"asyncpg>=0.29,<1",
"asyncssh>=2.21,<3",
]
[project.optional-dependencies]
test = [
"pytest>=7.4,<9",
"tomli>=2.0; python_version < '3.11'",
]
dev = [
"build>=1.2,<2",
"pytest>=7.4,<9",
"pytest-cov>=4.1,<8",
"ruff>=0.5,<0.6",
"tomli>=2.0; python_version < '3.11'",
"twine>=6,<7",
]
browser = [
"playwright>=1.45,<2",
]
docker = [
"docker>=7.1,<8",
]
[project.scripts]
pg-diag = "pg_diag.cli:main"
[project.urls]
Homepage = "https://o2eg.com/"
Repository = "https://github.com/O2eg/pg_diag"
Issues = "https://github.com/O2eg/pg_diag/issues"
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = false
[tool.setuptools.packages.find]
where = ["src"]
include = ["pg_diag*"]
namespaces = false
[tool.setuptools.package-data]
pg_diag = [
"content/**/*",
"schema/*.json",
"render/templates/*.html",
"render/vendor/*.css",
"render/vendor/*.js",
"render/vendor/*.txt",
]
[tool.setuptools.exclude-package-data]
pg_diag = [
"content/**/__pycache__/*",
"content/**/*.pyc",
]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint.per-file-ignores]
"src/pg_diag/content/python/security/*.py" = ["F403", "F405"]