aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/src/lib/tests.py
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-18 15:21:12 +0200
committerEgor Tensin <egor@tensin.name>2026-06-18 15:21:12 +0200
commit0eab2fb9fd2006356c12830145fac067f64f7f8a (patch)
tree0af5847aee651c27bfa9f9aa924f5cf1600ed790 /test/src/lib/tests.py
parentMerge pull request #9 from egor-tensin/dependabot/docker/alpine-3.24 (diff)
downloadcimple-0eab2fb9fd2006356c12830145fac067f64f7f8a.tar.gz
cimple-0eab2fb9fd2006356c12830145fac067f64f7f8a.zip
workflows/ci: add Python linting
Diffstat (limited to '')
-rw-r--r--test/src/lib/tests.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/src/lib/tests.py b/test/src/lib/tests.py
index 7ccedef..b20ecc5 100644
--- a/test/src/lib/tests.py
+++ b/test/src/lib/tests.py
@@ -14,8 +14,10 @@ def my_parametrize(names, values, ids=None, **kwargs):
if len(_names) == 1:
ids = [f'{names}={v}' for v in values]
else:
- _values = [combination.values if hasattr(combination, 'values') else combination
- for combination in values]
+ _values = [
+ combination.values if hasattr(combination, 'values') else combination
+ for combination in values
+ ]
ids = [
'-'.join(f'{k}={v}' for k, v in zip(_names, combination))
for combination in _values