Felix Fontein
8f8a0e1d7c
Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files ( #10886 )
...
EOL CI / EOL Sanity (Ⓐ2.17) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.17+py3.10) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.17+py3.12) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.17+py3.7) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+alpine319+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+alpine319+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+alpine319+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+fedora39+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+fedora39+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+fedora39+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+ubuntu2004+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+ubuntu2004+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+ubuntu2004+py:azp/posix/3/) (push) Waiting to run
nox / Run extra sanity tests (push) Waiting to run
* 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
c1bd461173
doc style adjustments: modules s* ( #10480 )
...
* doc style adjustments: modules s*
* adjust comment indentation
* remove empty RETURN section in stacki_host
* spectrum_model_attrs: improve formatting of example
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/spotinst_aws_elastigroup.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/swdepot.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-07-27 15:59:26 +02:00
Felix Fontein
e8f965fbf8
Adjust YAML in module docs ( #10240 )
...
* Adjust YAML in module docs.
* adjust modules
---------
Co-authored-by: Alexei Znamensky <russoz@gmail.com>
2025-06-16 17:45:12 +02:00
Nocchia
4a2cc71141
systemd_info - extend support to timer unit ( #9891 )
...
* systemd_info - extend support to timer unit
* systemd_info - add changelogs fragments
* systemd_info - fix description and base_props
2025-03-16 21:21:07 +01:00
Nocchia
3bd0ab4a49
systemd_info - add wildcards support ( #9821 )
...
* systemd_info - add wildcards support
* systemd_info - add wildcards fragments
* systemd_info - improved dedicated functions
* systemd_info - improved code and functions for better maintenance and timing
* fix unitname description
* removed redundancies and keys() in lists, replaced fnmatch with filter and run_command with cmdrunner
* systemd_info - add new cmdrunner
* systemd_info - fix runner
* systemd_info - fix env in runner
* systemd_info - rename runner and get_version
* systemd_info - change args runner, fix fragment, add botmeta
* systemd_info - merge type args
2025-03-15 07:36:16 +01:00
Nocchia
8425464c0a
Add new systemd_info module ( #9764 )
...
* add systemd_info module
* fix object results
* apply review changes
* apply module change and add doc_fragments
* removed use_unsafe_shell and doc_fragments/systemd
* fix unitname description doc
* fixed doc, replaced systemctl show syntax, added base prop result doc
* fix documentation
* fix RV values in description
* fix RV() description values
* add get_bin_path try/fail and remove list()
* fix doc, removed try block
* add Archlinux in integration test
2025-02-23 17:39:52 +01:00