-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
112 lines (94 loc) · 3.17 KB
/
Copy pathpyproject.toml
File metadata and controls
112 lines (94 loc) · 3.17 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
101
102
103
104
105
106
107
108
109
110
111
112
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "nt2"
authors = [{name = "Andy Kluger"}]
dynamic = ["version", "description"]
license = {file = "LICENSE"}
readme = "README.md"
keywords = ["NestedText", "JSON", "YAML", "TOML", "HUML", "XML", "MAML"]
classifiers = [
"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",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Environment :: Console",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Topic :: Text Processing :: Markup",
"Topic :: Utilities",
]
dependencies = ["cattrs", "nestedtext", "plumbum", "rich", "ruamel.yaml", "typing-extensions; python_version<'3.9'", "wrapt", "yamlpath>=3.6.9"]
requires-python = ">=3.7"
[project.urls]
Home = "https://github.com/andydecleyre/nestedtextto"
[project.scripts]
nt2json = "nt2.formats.json:NestedTextToJSON"
nt2yaml = "nt2.formats.yaml:NestedTextToYAML"
nt2toml = "nt2.formats.toml:NestedTextToTOML"
json2nt = "nt2.formats.json:JSONToNestedText"
yaml2nt = "nt2.formats.yaml:YAMLToNestedText"
toml2nt = "nt2.formats.toml:TOMLToNestedText"
nt2 = "nt2.ui:NestedTextTo"
2nt = "nt2.ui:ToNestedText"
2nt2 = "nt2.ui:ToNestedTextTo"
[project.optional-dependencies]
toml = ["tomli", "tomli-w"]
huml = ["pyhuml"]
all = ["hjson", "maml-py", "pyhuml", "tomli", "tomli-w", "xmltodict"]
test-without-extras = ["nestedtext", "plumbum", "prysk[pytest-plugin]", "ward"]
test = ["hjson", "maml-py", "nestedtext", "plumbum", "prysk[pytest-plugin]", "pyhuml", "tomli", "tomli-w", "ward", "xmltodict"]
dev = ["cattrs", "darglint", "hjson", "ipython", "maml-py", "md-toc", "nestedtext", "plumbum", "prysk[pytest-plugin]", "pydoctor", "pyhuml", "pyright", "rich", "ruamel.yaml", "ruff", "ssort", "tomli", "tomli-w", "typing-extensions; python_version<'3.9'", "ward", "wheezy.template", "wrapt", "xmltodict", "yamlpath>=3.6.9"]
maml = ["maml-py"]
hjson = ["hjson"]
xml = ["xmltodict"]
[tool.flit.external-data]
directory = "data"
[tool.ruff]
line-length = 99
exclude = ["./.zpy"]
[tool.ruff.per-file-target-version]
"scripts/*.py" = "py314"
[tool.ruff.format]
exclude = ["templates/*"]
quote-style = "preserve"
skip-magic-trailing-comma = true
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN401",
"BLE",
"COM812",
"EM",
"FIX",
"ISC001",
"PERF203",
"PGH003",
"Q000",
"T20",
"TC006",
"TD002", "TD003",
"TRY003", "TRY203", "TRY400"
]
[tool.ruff.lint.flake8-annotations]
suppress-none-returning = true
[tool.ruff.lint.isort]
combine-as-imports = true
split-on-trailing-comma = false
[tool.ruff.lint.pydocstyle]
convention = "pep257"
[tool.ruff.lint.pylint]
max-args = 6
[tool.pydoctor]
docformat = "google"
theme = "readthedocs"
project-url = "https://github.com/andydecleyre/nestedtextto"
project-name = "NestedTextTo"
html-output = "doc/api"
html-viewsource-base = "https://github.com/AndydeCleyre/nestedtextto/tree/develop"