patchback[bot]
e278490fe7
[PR #11746/61060532 backport][stable-12] feat: use CmdRunner for LVM commands ( #11794 )
...
feat: use CmdRunner for LVM commands (#11746 )
* feat: use CmdRunner for LVM commands
* Update plugins/module_utils/lvm.py
* rename module util to _lvm
---------
(cherry picked from commit 61060532f9 )
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com >
Co-authored-by: Felix Fontein <felix@fontein.de >
2026-04-12 22:29:22 +02:00
Felix Fontein
340ff8586d
Reformat everything.
2025-11-01 13:46:53 +01:00
Felix Fontein
0c5466de47
Cleanup: remove unicode prefix, remove explicit inheritance from object ( #11015 )
...
* Address UP025: remove unicode literals from strings.
* Address UP004: class inherits from 'object'.
2025-10-30 20:17:10 +01:00
Alexei Znamensky
b527e80307
modules [lm]*: use f-strings ( #10971 )
...
* modules [lm]*: use f-strings
* add changelog frag
2025-10-26 07:57:24 +01:00
Felix Fontein
8f8a0e1d7c
Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files ( #10886 )
...
* Adjust all __future__ imports:
for i in $(grep -REl "__future__.*absolute_import" plugins/ tests/); do
sed -e 's/from __future__ import .*/from __future__ import annotations/g' -i $i;
done
* Remove all UTF-8 encoding specifications for Python source files:
for i in $(grep -REl '[-][*]- coding: utf-8 -[*]-' plugins/ tests/); do
sed -e '/^# -\*- coding: utf-8 -\*-/d' -i $i;
done
* Remove __metaclass__ = type:
for i in $(grep -REl '__metaclass__ = type' plugins/ tests/); do
sed -e '/^__metaclass__ = type/d' -i $i;
done
2025-10-10 19:52:04 +02:00
Alexei Znamensky
62fa3e6f2b
remove trailing comma in dict(parameters,) ( #10711 )
...
* remove trailing comma in dict(parameters,)
* add changelog frag
2025-08-23 19:13:20 +02:00
Alexei Znamensky
cea6eeef37
l*.py: normalize docs ( #9390 )
2024-12-26 09:12:05 +01:00
Laszlo Szomor
4871140696
lvg_rename: New module to support VG renaming ( #6721 )
...
* lvg_rename: New module to support VG renaming
* Remove vg option aliases
Fix YAML boolean case-formatting
Co-authored-by: Felix Fontein <felix@fontein.de >
---------
Co-authored-by: Felix Fontein <felix@fontein.de >
2023-06-19 13:11:03 +02:00