-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
52 lines (45 loc) · 1.56 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
[project]
name = "otk"
requires-python = ">= 3.9"
dependencies = [
"pyyaml >= 6.0",
]
dynamic = ["version"]
[project.scripts]
otk = "otk.command:root"
osbuild-gen-depsolve-dnf4 = "otk_external_osbuild.command.gen_depsolve_dnf4:main"
osbuild-make-depsolve-dnf4-rpm-stage = "otk_external_osbuild.command.make_depsolve_dnf4_rpm_stage:main"
osbuild-make-depsolve-dnf4-curl-source = "otk_external_osbuild.command.make_depsolve_dnf4_curl_source:main"
osbuild-get-dnf4-package-info = "otk_external_osbuild.command.get_dnf4_package_info:main"
osbuild-gen-inline-files = "otk_external_osbuild.command.gen_inline_files:main"
osbuild-make-inline-source = "otk_external_osbuild.command.make_inline_source:main"
osbuild-make-generator-metadata = "otk_external_osbuild.command.make_generator_metadata:main"
[project.optional-dependencies]
dev = [
"autopep8",
"pytest >= 8.0",
"mypy >= 1.9",
"types-PyYAML >= 6.0",
"pre-commit",
"pylint"
]
[build-system]
requires = ["setuptools >= 61.0", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.autopep8]
max_line_length = 120
[tool.pylint.main]
max-line-length = 120
disable = ["C0114", "C0115", "C0116", "fixme", "protected-access", "redefined-outer-name"]
[tool.mypy]
warn_unused_configs = true
warn_redundant_casts = true
warn_unused_ignores = true
strict_equality = true
extra_checks = true
disallow_incomplete_defs = true
# TODO: follow
# https://mypy.readthedocs.io/en/stable/existing_code.html#introduce-stricter-options
# and get to "--strict" eventually
#check_untyped_defs = true
#disallow_untyped_calls = true