patchback[bot]
b769b0bc01
[PR #11400/236b9c0e backport][stable-12] Sort imports with ruff check --fix ( #11409 )
...
Sort imports with ruff check --fix (#11400 )
Sort imports with ruff check --fix.
(cherry picked from commit 236b9c0e04 )
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-01-09 19:36:52 +01:00
patchback[bot]
41f815be57
[PR #11344/543329ce backport][stable-12] batch 4 - update Python idiom to 3.7 using pyupgrade ( #11350 )
...
batch 4 - update Python idiom to 3.7 using pyupgrade (#11344 )
* batch 4 - update Python idiom to 3.7 using pyupgrade
* add changelog frag
* bring back sanity
* remove unused import
(cherry picked from commit 543329cecb )
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2025-12-30 16:31:29 +01:00
patchback[bot]
619ea5b7b3
[PR #11106/f785e9c7 backport][stable-12] replace batch of redundant to_native()/to_text() occurrences ( #11140 )
...
replace batch of redundant to_native()/to_text() occurrences (#11106 )
* replace batch of redundant to_native()/to_text() occurrences
* add changelog frag
* snap sanity
* rolling back snap for now
* more cases in redhat_subscription
(cherry picked from commit f785e9c780 )
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2025-11-12 21:59:09 +01:00
patchback[bot]
8cd80d94a0
[PR #11049/396f467b backport][stable-12] Improve Python code: address unused variables ( #11058 )
...
Improve Python code: address unused variables (#11049 )
* Address F841 (unused variable).
* Reformat.
* Add changelog fragment.
* More cleanup.
* Remove trailing whitespace.
* Readd removed code as a comment with TODO.
(cherry picked from commit 396f467bbb )
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-11-09 09:59:42 +01:00
patchback[bot]
1eca76969a
[PR #11055/a9a4f890 backport][stable-12] remove required=false from docs ( #11065 )
...
remove required=false from docs (#11055 )
(cherry picked from commit a9a4f89033 )
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2025-11-09 09:59:07 +01:00
Felix Fontein
340ff8586d
Reformat everything.
2025-11-01 13:46:53 +01:00
Alexei Znamensky
749c06cd01
modules [no]*: use f-strings ( #10973 )
...
* modules [no]*: use f-strings
* add changelog frag
2025-10-26 07:48:10 +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
6d67546902
doc style adjustments: modules [no]* ( #10443 )
...
* doc style adjustments: modules n*
* doc style adjustments: modules o*
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-07-25 08:52:01 +02:00
Alexei Znamensky
838cdaab42
lmn*: style adjustments ( #9528 )
...
* lmn*: style adjustments
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-01-07 06:28:00 +01:00
Alexei Znamensky
6aadcc72d1
[mem ... n]*.py: normalize docs ( #9388 )
...
* [mem ... n]*.py: normalize docs
* Update plugins/modules/netcup_dns.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* netcup_dns: change type of RV(records)
From complex to list of dicts.
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-26 13:41:54 +01:00
Felix Fontein
b271dba4bf
Use semantic markup (modules m-n) ( #6679 )
...
* Use semantic markup.
* Use option instead of alias.
* Simplify.
* Fix/improve nagios docs.
2023-06-15 15:47:40 +02:00
Felix Fontein
d03ae532ed
Add attributes to more modules (3/4) ( #5967 )
...
Add attributes to more modules.
2023-02-20 17:30:26 +01:00
Alexei Znamensky
f683d6a05d
short_description fix batch 2 ( #5520 )
2022-11-09 13:57:41 +01:00
Felix Fontein
b531ecdc9b
Unflatmap community.general ( #5461 )
...
* Move files.
* Update imports and references.
* Move wrongly placed files.
* Reverse redirects, deprecate long → short name redirects.
* Simplify contribution guidelines for new modules.
* Rewrite BOTMETA.
* Add changelog fragment.
* Fix ignore.txt files.
2022-11-02 20:42:29 +00:00
Felix Fontein
7743ecd776
Replace symlinks with meta/runtime.yml redirects. ( #4562 )
2022-04-26 20:33:13 +02:00
Brian Coca
8f90360d49
make collection usable with current ansible vers ( #9 )
2020-03-11 14:10:38 +00:00