-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpyproject.toml
124 lines (107 loc) · 2.63 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
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
[project]
name = "strimzi-kafka-cli"
version = "0.1.0-alpha79"
description = "Command Line Interface for Strimzi Kafka Operator"
readme = "README.md"
license = {text = "Apache-2.0"}
requires-python = ">=3.9,<3.14"
keywords = ["kafka", "strimzi", "cli", "operator", "kubernetes", "k8s", "openshift", "apache-kafka"]
classifiers=[
'Intended Audience :: Developers',
'Topic :: Software Development',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'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 :: Only',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Operating System :: POSIX',
'Operating System :: Unix',
'Operating System :: MacOS'
]
dependencies = [
"click == 8.0.4",
"pyyaml == 6.0.1",
"wget == 3.2",
"jproperties == 2.1.1",
"kubernetes == 28.1.0",
]
[project.optional-dependencies]
dev = [
"twine",
"flake8",
"flake8-pyproject",
"pytest",
"wheel",
"build",
"isort",
"black",
"mypy",
"pre-commit<4",
"bandit",
"autoflake"
]
[tool.urls]
Tracker = "https://github.com/systemcraftsman/strimzi-kafka-cli/issues"
Homepage = "https://github.com/systemcraftsman/strimzi-kafka-cli"
Repository = "https://github.com/systemcraftsman/strimzi-kafka-cli"
Documentation = "https://github.com/systemcraftsman/strimzi-kafka-cli/blob/main/README.md"
[tool.setuptools]
package-dir = {"kfk" = "kfk"}
include-package-data = true
license-files = ["LICENSE"]
zip-safe = true
[tool.flake8]
exclude = ".git,venv,.venv,env,.env,__pycache__,docs,dist"
max-complexity = 10
max-line-length = 88
extend-ignore = """
W503,
E203,
E701,
C901,
"""
per-file-ignores = """
./kfk/main.py: F401, F811
"""
[tool.isort]
line_length = 88
profile = "black"
[tool.bandit]
target = ["tests", "kfk"]
tests = ["B201", "B301"]
[tool.autoflake]
check = true
imports = ["kfk"]
[tool.black]
target-version = ["py39", "py310", "py311", "py312", "py313"]
line-length = 88
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
| docs
)/
'''
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project.scripts]
kfk = "kfk.main:kfk"
[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]