Felix Fontein
f9cd56a985
Address no-else-return.
2025-10-11 15:30:33 +02:00
Felix Fontein
e3b07ed6b2
Address no-else-raise.
2025-10-11 15:30:15 +02:00
Felix Fontein
73a0bf93d2
Address no-else-continue.
2025-10-11 15:30:15 +02:00
Felix Fontein
0f422db170
Address line-too-long.
2025-10-11 15:30:15 +02:00
Felix Fontein
d04a770441
Address keyword-arg-before-vararg.
2025-10-11 15:30:15 +02:00
Felix Fontein
ae0dba8490
Address invalid-name.
2025-10-11 15:30:15 +02:00
Felix Fontein
9bb3f8c3b3
Address consider-using-max-builtin.
2025-10-11 15:30:15 +02:00
Felix Fontein
da788d3669
Address consider-using-in.
2025-10-11 15:30:15 +02:00
Felix Fontein
6d97fca880
Address consider-using-f-string.
2025-10-11 15:30:15 +02:00
Felix Fontein
8acdc3c851
Address consider-using-dict-comprehension.
2025-10-11 15:30:15 +02:00
Felix Fontein
ae53065001
Address consider-iterating-dictionary.
2025-10-11 15:30:15 +02:00
Felix Fontein
1d30856e67
Address broad-exception-caught.
2025-10-11 15:30:15 +02:00
Felix Fontein
451e235c2a
Address broad-exception-raised.
2025-10-11 15:30:15 +02:00
Felix Fontein
0fa1dacbbd
Address attribute-defined-outside-init.
2025-10-11 15:30:15 +02:00
Felix Fontein
e8ec22d3b1
Python code modernization, 3/n ( #1157 )
...
* Remove __metaclass__ = type.
for i in $(grep -REl '__metaclass__ = type' plugins/ tests/); do
sed -e '/^__metaclass__ = type/d' -i $i;
done
* Remove super arguments, and stop inheriting from object.
2025-10-10 08:11:58 +02:00
Felix Fontein
a3efa26e2e
Address some pylint issues ( #1155 )
...
* Address cyclic-import.
* Address redefined-builtin.
* Address redefined-argument-from-local.
* Address many redefined-outer-name.
* Address pointless-string-statement.
* No longer needed due to separate bugfix.
* Address useless-return.
* Address possibly-used-before-assignment.
* Add TODOs.
* Address super-init-not-called.
* Address function-redefined.
* Address unspecified-encoding.
* Clean up more imports.
2025-10-09 20:11:36 +02:00
Felix Fontein
acf18f0ade
Add more CI checks ( #1150 )
...
* Enable mypy.
* Add flake8.
* Add pylint with a long list of ignores to be removed.
2025-10-07 19:37:16 +02:00