-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
128 lines (118 loc) · 2.8 KB
/
pyproject.toml
File metadata and controls
128 lines (118 loc) · 2.8 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[project]
name = "pyya"
version = "0.1.15"
description = "Convert YAML/TOML configuration files to Python objects"
readme = "README.md"
requires-python = ">=3.8"
authors = [
{ name = "shadowy-pycoder", email = "[email protected]" },
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"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 :: 3.14",
]
dependencies = [
"camel-converter>=3.1.2",
"munch>=4.0.0",
"pydantic>=2.5.2",
"pyyaml>=6.0.2",
"toml>=0.10.2",
"types-pyyaml>=6.0.12.20240917",
"types-toml>=0.10.8.20240310",
]
[project.urls]
Homepage = "https://github.com/shadowy-pycoder/pyya"
Issues = "https://github.com/shadowy-pycoder/pyya/issues"
Repository = "https://github.com/shadowy-pycoder/pyya"
[project.scripts]
pyya = "pyya.__main__:main"
[dependency-groups]
dev = [
"pytest>=8.3.5",
"pytest-cov>=5.0.0",
]
[tool.mypy]
python_version = "3.8"
cache_dir = ".mypy_cache/strict"
allow_redefinition = true
strict_optional = false
show_column_numbers = true
warn_no_return = true
disallow_any_unimported = false
warn_unused_configs = true
disallow_any_generics = true
disallow_subclassing_any = false
disallow_untyped_calls = false
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
implicit_reexport = true
strict_equality = true
ignore_missing_imports = true
[tool.pytest.ini_options]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
"ignore::ImportWarning",
"ignore::ResourceWarning",
]
pythonpath = "."
[tool.ruff]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
line-length = 120
indent-width = 4
target-version = "py38"
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint]
select = ["E1", "E2", "E4", "E7", "E9", "F", "D3"]
ignore = ["ANN201", "Q000", "D102", "D103"]
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.isort]
lines-after-imports = 2
[tool.setuptools]
license-files = []