Felix Fontein
8f8a0e1d7c
Fix __future__ imports, __metaclass__ = type, and remove explicit UTF-8 encoding statement for Python files ( #10886 )
...
EOL CI / EOL Sanity (Ⓐ2.17) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.17+py3.10) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.17+py3.12) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.17+py3.7) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+alpine319+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+alpine319+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+alpine319+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+fedora39+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+fedora39+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+fedora39+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+ubuntu2004+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+ubuntu2004+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.17+ubuntu2004+py:azp/posix/3/) (push) Waiting to run
nox / Run extra sanity tests (push) Waiting to run
* 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
5e2ffb845f
doc style adjustments: modules [cd]* ( #10397 )
...
EOL CI / EOL Sanity (Ⓐ2.16) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py2.7) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.11) (push) Waiting to run
EOL CI / EOL Units (Ⓐ2.16+py3.6) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+alpine3+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+fedora38+py:azp/posix/3/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/1/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/2/) (push) Waiting to run
EOL CI / EOL I (Ⓐ2.16+opensuse15+py:azp/posix/3/) (push) Waiting to run
nox / Run extra sanity tests (push) Waiting to run
* 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
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
Alexei Znamensky
27a3d6d85d
dnsimple_info: minor refactor ( #6440 )
...
* dns_simple: minor refactor
* add changelog frag
2023-05-03 22:43:51 +02:00
Alexei Znamensky
0624951e17
add dependency manager ( #5535 )
...
* add dependency manager
* add plugins/module_utils/deps.py to BOTMETA
* ditch usng OrderedDict to keep compatibility with Python 2.6
* Update plugins/module_utils/deps.py
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2022-11-17 06:55:00 +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
Felix Fontein
7743ecd776
Replace symlinks with meta/runtime.yml redirects. ( #4562 )
2022-04-26 20:33:13 +02:00
Edward Hilgendorf
2547932e3d
add dnsimple_info module, see issue #3569 ( #3739 )
...
* add dnsimple_info module, see issue #3569
https://github.com/ansible-collections/community.general/issues/3569#issuecomment-945002861
* Update plugins/modules/net_tools/dnsimple_info.py
Update dnsimple_info.py
Update dnsimple_info.py
Update dnsimple_info.py
Update BOTMETA.yml
Update dnsimple_info.py
Create dnsimple_info.py
Create dnsimple_info.py
pep8
Update dnsimple_info.py
Update dnsimple_info.py
Update dnsimple_info.py
Update plugins/modules/net_tools/dnsimple_info.py
Update plugins/modules/net_tools/dnsimple_info.py
Update plugins/modules/net_tools/dnsimple_info.py
Update plugins/modules/net_tools/dnsimple_info.py
Update plugins/modules/net_tools/dnsimple_info.py
Update dnsimple_info.py
add returns
pep8 spacing
Update dnsimple_info.py
Update dnsimple_info.py
change return results to list
fix time stamps
Update dnsimple_info.py
remove extra comma
Update plugins/modules/net_tools/dnsimple_info.py
Update test_dnsimple_info.py
Update dnsimple_info.py
fix descriptions
Update dnsimple_info.py
Update dnsimple_info.py
Update dnsimple_info.py
Update dnsimple_info.py
Update dnsimple_info.py
Update dnsimple_info.py
Update dnsimple_info.py
Update dnsimple_info.py
missing punctuation throughout docs
Update dnsimple_info.py
add elements in descriptions
Update dnsimple_info.py
indentation error
Update dnsimple_info.py
Update dnsimple_info.py
Update dnsimple_info.py
Update dnsimple_info.py
Update dnsimple_info.py
refactor, remove unneeded arguments
refactor and error handling
formatting
add unit test
Update test_dnsimple_info.py
Update test_dnsimple_info.py
Update plugins/modules/net_tools/dnsimple_info.py
Update plugins/modules/net_tools/dnsimple_info.py
Update plugins/modules/net_tools/dnsimple_info.py
Update plugins/modules/net_tools/dnsimple_info.py
Update plugins/modules/net_tools/dnsimple_info.py
Update plugins/modules/net_tools/dnsimple_info.py
Update plugins/modules/net_tools/dnsimple_info.py
Update plugins/modules/net_tools/dnsimple_info.py
Update plugins/modules/net_tools/dnsimple_info.py
Update plugins/modules/net_tools/dnsimple_info.py
Update plugins/modules/net_tools/dnsimple_info.py
Update test_dnsimple_info.py
Update test_dnsimple_info.py
Update test_dnsimple_info.py
Update test_dnsimple_info.py
Update test_dnsimple_info.py
Update test_dnsimple_info.py
assert fail/exit
Update test_dnsimple_info.py
pep8 fixes
Update test_dnsimple_info.py
Update test_dnsimple_info.py
Update test_dnsimple_info.py
Update test_dnsimple_info.py
Co-Authored-By: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2021-12-11 21:14:32 +01:00