Felix Fontein
340ff8586d
Reformat everything.
2025-11-01 13:46:53 +01:00
Alexei Znamensky
af246f8de3
modules s[f-z]*: use f-strings ( #10977 )
...
* modules s[f-z]*: use f-strings
* add changelog frag
2025-10-26 22:35:30 +13: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
4b23e5ecff
s[o-y]*: normalize docs ( #9351 )
...
* s[o-y]*: normalize docs
* Apply suggestions from code review
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update plugins/modules/spectrum_model_attrs.py
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
2024-12-25 09:48:22 +01:00
Felix Fontein
13e9e4b196
Add more semantic markup ( #6744 )
...
Add more semantic markup.
2023-06-20 08:14:02 +02:00
Felix Fontein
4b262e39f0
Add attributes to more modules (4/4) ( #5968 )
...
* Add attributes to more modules.
* Adjust indentation.
Co-authored-by: Kristian Heljas <11139388+kristianheljas@users.noreply.github.com>
---------
Co-authored-by: Kristian Heljas <11139388+kristianheljas@users.noreply.github.com>
2023-02-20 17:30:53 +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
Mark Mercado
6165438689
StatsD Module ( #1793 )
...
* Pushing my WIP
* Update DOCUMENTATION
* Update EXAMPLES
* More friendly name
* Finish up the counter and gauge logic
* Cleanup DOCUMENTATION and add metric_type
* Apply autopep8
* Fixup the exits
* Stubbing out unit tests
* Whitespace
* Whitespace
* Removing unused modules
* Remove unused modules
* Might have have a prefix
* Rearrange imported modules
* Cleanup the if/elif blob
* Require python >= 2.7
* Update DOCUMENTATION
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update DOCUMENTATION
Co-authored-by: Felix Fontein <felix@fontein.de>
* Add import guarding on statsd
* Add missing future import
* Include missing_required_lib
* Fixing sanity tests
* Fixing delta default and choices
* Formatting
* Close tcp connection
* Refactoring and unit tests
* Fix pep8 sanity tests
* Putting requirements.txt back to main
* Apply suggestions from code review
Co-authored-by: Mark Mercado <mmercado@digitalocean.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2021-02-16 11:46:39 +01:00