Felix Fontein
236b9c0e04
Sort imports with ruff check --fix ( #11400 )
...
Sort imports with ruff check --fix.
2026-01-09 07:40:58 +01:00
Alexei Znamensky
defd15609c
pmem: remove redundant use of regexp ( #11388 )
...
* pmem: remove redundant use of regexp
* add changelog frag
* add bugfixes extry
* Update plugins/modules/pmem.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/pmem.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2026-01-07 20:40:37 +01:00
Alexei Znamensky
a9a4f89033
remove required=false from docs ( #11055 )
2025-11-09 08:27:06 +01: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
Felix Fontein
6088b0cff5
CI: add type checking ( #10997 )
...
* Set up type checking with mypy.
* Make mypy pass.
* Use list() instead of sorted().
2025-10-29 17:13:38 +00:00
Alexei Znamensky
8120e9347e
modules p*: use f-strings ( #10974 )
...
* modules p*: use f-strings
* add changelog frag
2025-10-26 07:48:51 +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
d288555fd9
doc style adjustments: modules p* ( #10463 )
...
* doc style adjustments: modules p*
* Update plugins/modules/pacemaker_resource.py
* Update plugins/modules/pagerduty_alert.py
* Update plugins/modules/pear.py
* Update plugins/modules/portage.py
* reformat
* adjustment from review
* Update plugins/modules/pkg5_publisher.py
Co-authored-by: Peter Oliver <github.com@mavit.org.uk>
---------
Co-authored-by: Peter Oliver <github.com@mavit.org.uk>
2025-07-27 11:48:50 +02:00
Alexei Znamensky
568fcea15e
pr*: style adjustments ( #9524 )
...
* pr*: style adjustments
* revert removal of "null"
* Update plugins/modules/redfish_command.py
* Update plugins/modules/redhat_subscription.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-01-08 20:41:03 +01:00
Felix Fontein
ec585392e5
Docs: fix its vs. it's ( #9442 )
...
* Fix its vs. it's.
* Improvements from review.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
* Improve formulations.
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
---------
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2024-12-29 13:29:58 +01:00
Alexei Znamensky
13e2097f37
[pi ... prof]*: normalize docs ( #9371 )
...
* [pi ... prof]*: normalize docs
* Update plugins/modules/pkg5_publisher.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-25 22:48:04 +01:00
Felix Fontein
45eb1e3915
Use semantic markup (modules o-p) ( #6681 )
...
* Use semantic markup.
* Use real option, not alias.
* E() now works better.
2023-06-15 15:48:17 +02:00
Felix Fontein
0ef805699d
Add attributes to more modules (1/4) ( #5965 )
...
* Add attributes to more modules.
* Apply suggestions from code review.
Co-authored-by: Kristian Heljas <11139388+kristianheljas@users.noreply.github.com>
---------
Co-authored-by: Kristian Heljas <11139388+kristianheljas@users.noreply.github.com>
2023-02-20 17:29:14 +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
mizumm
7f793c83f1
New module: pmem to configure Intel Optane Persistent Memory modules ( #4162 )
...
* Add new module: pmem
This commit introduces to pmem module to configure Intel Optane
Persistent Memory modules (PMem).
* Add botmeta
* Update plugins/modules/storage/pmem/pmem.py
* Convert to snake_case options
* Update related to xmltodict
* Update to use list instead of string
* Update to use single quote to the string
* Update plugins/modules/storage/pmem/pmem.py
2022-02-16 22:30:17 +01:00