Felix Fontein
340ff8586d
Reformat everything.
2025-11-01 13:46:53 +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
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
ed092956ba
[a-n]*.py: normalize doc_fragments ( #9422 )
...
* [a-n]*.py: normalize doc_fragments
* Update plugins/doc_fragments/ldap.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update plugins/doc_fragments/ldap.py
Co-authored-by: Felix Fontein <felix@fontein.de >
---------
Co-authored-by: Felix Fontein <felix@fontein.de >
2024-12-27 14:30:17 +01:00
Felix Fontein
2b62826082
Fix more typos ( #7439 )
...
* Fix more typos in plugins/.
* Fix typos in tests/unit/.
* Fix typos in tests/integration/.
* Fix more typos.
Co-authored-by: Sebastian Gumprich <rndmh3ro@users.noreply.github.com >
---------
Co-authored-by: Sebastian Gumprich <rndmh3ro@users.noreply.github.com >
2023-10-29 18:04:44 +01:00
apecnascimento
714e06089e
Add nomad_job port parameter ( #7412 )
...
* Add nomad_job port parameter
* Add changelog frag
* Update doc frag
* Fix trailing whitespace
* Add port to nomad_info
* Update changelogs/fragments/7412-add-port-for-nomad-connection.yaml
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update plugins/doc_fragments/nomad.py
Co-authored-by: Felix Fontein <felix@fontein.de >
* Add space
* Remove trailing whitespace
---------
Co-authored-by: Felix Fontein <felix@fontein.de >
2023-10-25 08:48:18 +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
chris93111
b2e075e6d3
new module nomad_job & nomad_job_info ( #867 )
...
* nomad_job module
* Delete nomad_job.py
* new module nomad_job
* fix symlink
* disable test with centos6 , not supported
* fix centos unsupported
* fix
* requested changes doc
* disable freebsd ci
* requested change docs + check_mode
* lint
* fix syntax
* update docs
* doc fix
Co-authored-by: Felix Fontein <felix@fontein.de >
* Update nomad_job.py
fix docs + ssl true default
* Update nomad_job.yml
disable ssl ci
* nomad_job_info
* Update nomad_job_info.py
fix token nomad job info
* Update nomad_job.py
idempotence + check_mode plan result
* Update nomad_job.py
fail if no id with json content
* Update nomad_job.yml
ci idempotence + check_mode , nomad_job and nomad_job_info
* Update nomad_job.yml
fix ci
* Update main.yml
add kill nomad ci
* Update main.yml
always kill
* fix check mode delete job
* ci with delete and check_mode
* lint
* force start in first deploy
* 12.4 nomad
* fix version nomad
* fix ci assert
* fix ci
* fix ci
* lint
* fix version job id None, import os unused
* lint job_info
* Update aliases
* docs frag + info refacto
* lint
lint
* ci
* jmespath
* fix ci
Co-authored-by: FERREIRA Christophe <christophe.ferreira@cnaf.fr >
Co-authored-by: Felix Fontein <felix@fontein.de >
2020-10-19 13:40:07 +02:00