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
41923e43bd
fix ruff case SIM103 ( #11119 )
...
* fix ruff case SIM103
* add changelog frag
2025-11-12 21:12:47 +01:00
Alexei Znamensky
6e1cc3eafd
swupd: deprecation ( #11087 )
...
* swupd: deprecation
* add changelog frag
* Update changelogs/fragments/11087-deprecate-swupd.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update meta/runtime.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/swupd.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-11-11 18:48:42 +13: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
af246f8de3
modules s[f-z]*: use f-strings ( #10977 )
...
* modules s[f-z]*: use f-strings
* add changelog frag
2025-10-26 22:35:30 +13: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
2dd74b3f3c
swupd: command args as list rather than string ( #10605 )
...
* swupd: command args as list rather than string
* add changelog frag
2025-08-10 13:35:20 +02:00
Alexei Znamensky
15d3ea123d
remove common return values from docs ( #10485 )
...
* remove common return values from docs
* pacman: add note about version added of RV
2025-07-28 18:46:02 +02:00
Alexei Znamensky
695b1abc8d
st*: style adjustments ( #9516 )
...
* st*: style adjustments
* lien lenght adjustments
2025-01-03 20:00:45 +01:00
Alexei Znamensky
2f82bd8ece
Adjust doc style ( #9435 )
...
* adjust doc style
* Update plugins/modules/swupd.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* restore sanity
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-29 00:25:12 +01:00
Alexei Znamensky
4b23e5ecff
s[o-y]*: normalize docs ( #9351 )
...
* s[o-y]*: normalize docs
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/spectrum_model_attrs.py
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-25 09:48:22 +01:00
Felix Fontein
eff0cb0ed9
Use semantic markup (modules r-s) ( #6683 )
...
* Use semantic markup.
* Use 'ignore:' for alias reference.
* Ignore sanity errors for older ansible-core versions.
* Improve markup for RHSM modules.
Co-authored-by: Pino Toscano <ptoscano@redhat.com>
* 'ignore:' is no longer needed.
* E() now works better.
---------
Co-authored-by: Pino Toscano <ptoscano@redhat.com>
2023-06-15 15:48:51 +02:00
Felix Fontein
4b262e39f0
Add attributes to more modules (4/4) ( #5968 )
...
* Add attributes to more modules.
* Adjust indentation.
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:30:53 +01:00
Alexei Znamensky
6b20572ea1
Short descriptions (batch3) - massive fix on Capitalization and trailing period ( #5521 )
...
* short_description fix batch 3
* Update plugins/modules/telegram.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2022-11-09 21:09:09 +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