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
Alexei Znamensky
39291d3c60
keyring & keyring_info: import shlex directly ( #10981 )
...
* keyring & keyring_info: import shlex directly
* add changelog frag
2025-10-26 08:02:03 +01:00
Alexei Znamensky
4a6a449fbd
modules [jk]*: use f-strings ( #10970 )
...
* modules [jk]*: use f-strings
* add changelog frag
* Apply suggestions from code review
* typing insanity
2025-10-26 07:54:15 +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
27c34b150f
jk*: style adjustments ( #9529 )
...
* jk*: style adjustments
* Apply suggestions from code review
* fix return yamls
2025-01-06 21:31:59 +01:00
Alexei Znamensky
49ed3d4acf
k*.py: normalize docs ( #9391 )
...
* k*.py: normalize docs
* Update plugins/modules/keycloak_realm_keys_metadata_info.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/kibana_plugin.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-26 13:42:44 +01:00
Felix Fontein
ac6ac73276
Document attributes (_info and _facts modules for now) ( #5481 )
...
* Add attributes docs fragment.
* Use attributes for _info and _facts modules.
2022-11-06 21:16:43 +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