Felix Fontein
340ff8586d
Reformat everything.
2025-11-01 13:46:53 +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
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
Alexei Znamensky
107df41d9c
django_command/django_check/django_createcachetable: add return value version ( #9063 )
...
* add return value version
* add changelog frag
* reformat yaml
2024-10-27 09:36:38 +01:00
Alexei Znamensky
a7d1b0fc52
python_runner/django_command: bugfixes ( #8944 )
...
* python_runner/django_command: bugfixes
* fix indentation
* join path_prefix with : when concatenating with PATH
* add changelog frag
2024-09-30 09:45:32 +03:00
Alexei Znamensky
1ac94b5f44
Initial commit for django modutils and django_command module ( #8349 )
...
* Initial commit for django modutils and django_command module
* Fixed sanity, param settings required
* add stdout, stderr and cmd to django module output
* add examples and return docs to djando_command module
* multiple minor adjustments
* fix typo
* Update plugins/modules/django_command.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/django_command.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/django_command.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* move note to seealso
* add xfailing test
* Update plugins/doc_fragments/django.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/doc_fragments/django.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-05-15 18:51:42 +02:00