Felix Fontein
236b9c0e04
Sort imports with ruff check --fix ( #11400 )
...
Sort imports with ruff check --fix.
2026-01-09 07:40:58 +01:00
Felix Fontein
340ff8586d
Reformat everything.
2025-11-01 13:46:53 +01:00
Felix Fontein
3f2213791a
Cleanup: use f-strings instead of str.format() ( #11017 )
...
Address UP032: use f-strings instead of str.format().
2025-11-01 12:04:33 +01:00
Felix Fontein
74c2c804e5
Cleanup: use super() instead of super(__class__, self) ( #11016 )
...
* Address UP008: Use super() instead of super(__class__, self).
* Linting.
2025-10-30 20:17:26 +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
6829a064a5
dimensiondata: deprecation ( #10986 )
...
* dimensiondata: deprecation
* add changelog frag
* typo
* Update changelogs/fragments/10986-deprecation-dimensiondata.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-10-28 10:50:56 +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
736ce1983d
arg_spec adjustments: modules [a-f]* ( #10494 )
...
* arg_spec adjustments: modules [a-f]*
* add changelog frag
* Update changelogs/fragments/10494-rfdn-1.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-07-28 18:44:25 +02:00
Alexei Znamensky
5e2ffb845f
doc style adjustments: modules [cd]* ( #10397 )
...
* doc style adjustments: modules c*
* doc style adjustments: modules d*
* Update plugins/modules/consul_agent_check.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-07-13 21:03:09 +00:00
Alexei Znamensky
8cef0ee551
defghi*: style adjustments ( #9532 )
...
* defghi*: style adjustments
* 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:30:03 +01:00
Alexei Znamensky
df42f29e53
[def]*.py: normalize docs ( #9401 )
...
* [def]*.py: normalize docs
* Update plugins/modules/datadog_monitor.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-26 21:53:20 +01:00
Felix Fontein
2ed82e0318
Use semantic markup (modules d-g) ( #6672 )
...
* Use semantic markup.
* 'ignore:' is no longer needed.
* E() now works better.
2023-06-15 15:46:44 +02:00
Felix Fontein
673c79f6d9
Add attributes to apache2, cobbler, dimensiondata, icinga2, lxca, pritunl, and spectrum modules ( #5963 )
...
Add attributes to apache2, cobbler, dimensiondata, icinga2, lxca, pritunl, and spectrum modules.
2023-02-24 09:24:37 +01:00
Alexei Znamensky
97b584e261
Short descriptions (batch1) - massive fix on Capitalization and trailing period ( #5503 )
...
* short_description fix batch 1
* Update plugins/modules/ali_instance.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/apt_rpm.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2022-11-09 07:18:40 +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