patchback[bot]
a7ec516be3
[PR #10303/329c2222 backport][stable-11] fix style in plugins ( #10324 )
...
fix style in plugins (#10303 )
(cherry picked from commit 329c2222fc
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2025-07-01 22:09:45 +02:00
Alexei Znamensky
299172d27b
fixed hidden warnings from extra tests - batch 2 ( #10027 )
...
EOL CI / EOL Sanity (Ⓐ2.15) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py2.7) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py3.10) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py3.5) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/3/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/3/) (push) Has been cancelled
nox / Run extra sanity tests (push) Has been cancelled
* fixed hidden warnings from extra tests - batch 2
* remove multiple yaml doc markers from EXAMPLE blocks
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
* Apply suggestions from code review
* Apply suggestions from code review
* dig: adjust markup for return suboptions
* Update plugins/lookup/dig.py
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2025-05-04 14:05:32 +02:00
Alexei Znamensky
6cd3f79e19
lookup plugins: use f-strings ( #9324 )
...
* lookup plugins: use f-strings
* add changelog frag
* manual change for few occurrences
* Update plugins/lookup/dependent.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* adjustment from review
* no f-string for you
* Update plugins/lookup/dependent.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-25 09:48:06 +01:00
Felix Fontein
daed4dcc94
Type options of lookup plugins ( #8626 )
...
Type options of lookup plugins.
2024-07-21 21:03:41 +02:00
Felix Fontein
015566fb06
Normalize more booleans. ( #5247 )
2022-09-06 20:42:17 +02:00
Felix Fontein
496bf27b5c
Fix copyright lines (make sure 'Copyright' is there). ( #5083 )
2022-08-05 22:12:10 +02:00
Felix Fontein
123c7efe5e
Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt ( #5065 )
...
* Move licenses to LICENSES/, run add-license.py, add LICENSES/MIT.txt.
* Replace 'Copyright:' with 'Copyright'
sed -i 's|Copyright:\(.*\)|Copyright\1|' $(rg -l 'Copyright:')
Co-authored-by: Maxwell G <gotmax@e.email>
2022-08-05 12:28:29 +02:00
Felix Fontein
aa4c994dfd
Fix docs. ( #4881 )
2022-06-22 13:36:23 +02:00
Alexei Znamensky
da11a98cb7
fixed the utf-8 marker ( #3162 )
2021-08-07 15:02:21 +02:00
Alexei Znamensky
047b7ada3c
uf8 marker batch2 ( #3128 )
...
* added utf-8 markers to all .py files in plugins/filter
* added utf-8 markers to all .py files in plugins/inventory
* added utf-8 markers to all .py files in plugins/lookup
2021-08-01 12:36:53 +02:00
Alexei Znamensky
434f383ae9
fixed Python 3 keys() usage ( #1861 )
...
* fixed python3 keys()
* added changelog fragment
* Update plugins/modules/cloud/spotinst/spotinst_aws_elastigroup.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/cache/redis.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* rolledback redis.py per PR
* Update plugins/modules/monitoring/sensu/sensu_check.py
Co-authored-by: Felix Fontein <felix@fontein.de>
* removed unnecessary ignore lines
* adding memcached and one case in redis is indeed necessary
* Update changelogs/fragments/1861-python3-keys.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update changelogs/fragments/1861-python3-keys.yml
* Update changelogs/fragments/1861-python3-keys.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
Co-authored-by: Felix Fontein <felix@fontein.de>
2021-02-23 23:19:27 +01:00
Felix Fontein
99cfb993d5
<plugin_type>: -> name: ( #1541 )
2021-01-12 07:12:03 +01:00
Felix Fontein
e5da25915d
Improve plugin sanity ( #966 )
...
* callback_type -> type.
* Mark authors as unknown.
* Add author field forgotten in #627 .
* Fix author entries.
* Add author field forgotten in #127 .
* Fix some types.
2020-09-28 21:21:51 +02:00
Felix Fontein
7cf472855c
Fix various sanity errors in plugins ( #881 )
...
* Fix deprecation of callables.
* Fix various sanity errors.
* Revert callback_type -> type transform.
* Fix stat_result times: these are float according to https://github.com/python/typeshed/blob/master/stdlib/3/os/__init__.pyi
* Apply suggestions from code review
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
Co-authored-by: Andrew Klychkov <aaklychkov@mail.ru>
2020-09-16 11:06:45 +02:00
Felix Fontein
ea21341686
Fix plugins (names, constants, FQCNs in examples) ( #722 )
...
* cobbler inventory: fix NAME
* oc transport: fix transport name
* Inventory plugins: fix plugin identifications
* Use FQCN in lookup plugin examples.
* Use FQCN in callback plugins.
* Add changelog fragment.
* Adjust documentation.
* Fix lookup plugin linting errors.
* Fix quotes.
2020-08-08 22:04:34 +02:00
Andrew Klychkov
c055340ecb
modules: fix examples to use FQCN for builtin modules ( #648 )
...
* modules: fix examples to use FQCN for builtin modules
* fix
* fix
* fix
* fix
* fix
* fix
* fix
2020-07-14 18:28:08 +03:00
Ansible Core Team
aebc1b03fd
Initial commit
2020-03-09 09:11:07 +00:00