-
-
Notifications
You must be signed in to change notification settings - Fork 84
/
Copy pathpyproject.toml
95 lines (82 loc) · 2.35 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
[project]
name = "yq"
description = "Command-line YAML/XML processor - jq wrapper for YAML/XML documents"
readme = "README.rst"
requires-python = ">=3.8"
license = { text = "Apache Software License" }
authors = [{ name = "Andrey Kislyuk"}, {email = "[email protected]" }]
maintainers = [{ name = "Andrey Kislyuk"}, {email = "[email protected]" }]
dynamic = ["version"]
classifiers = [
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"PyYAML >= 5.3.1",
"xmltodict >= 0.11.0",
"tomlkit >= 0.11.6",
"argcomplete >= 1.8.1",
]
[project.optional-dependencies]
test = [
"ruff",
"coverage",
"build",
"wheel",
"mypy",
]
[project.urls]
"Homepage"= "https://github.com/kislyuk/yq"
"Documentation"= "https://xml-security.github.io/yq/"
"Source Code"= "https://github.com/kislyuk/yq"
"Issue Tracker"= "https://github.com/kislyuk/yq/issues"
"Change Log"= "https://github.com/kislyuk/yq/blob/main/Changes.rst"
[project.scripts]
yq = "yq:cli"
xq = "yq:xq_cli"
tomlq = "yq:tq_cli"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.black]
line-length = 120
[tool.isort]
profile = "black"
line_length = 120
skip_gitignore = true
[tool.ruff]
line-length = 120
[tool.ruff.lint]
per-file-ignores = {"yq/__init__.py" = ["F401"]}
[tool.mypy]
files = [
"yq"
]
check_untyped_defs = true
disallow_incomplete_defs = true
[[tool.mypy.overrides]]
module = "argcomplete.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "tomlkit.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "yq.version"
ignore_missing_imports = true