Felix Fontein
9cbf9fc6ec
Re-sort imports.
2025-12-25 23:27:29 +01:00
Felix Fontein
5420f9baaf
Cleanup with ruff check ( #963 )
...
* Implement improvements suggested by ruff check.
* Add ruff check to CI.
* Add changelog fragment.
2025-10-28 07:21:11 +01:00
Felix Fontein
250230e763
Avoid deprecated typing.Callable. ( #959 )
2025-10-17 08:48:27 +02:00
Felix Fontein
d83a923325
Ensure that *everything* is typed in community.crypto ( #917 )
...
* Ensure that *everything* is typed in community.crypto.
* Fix comment.
* Ignore type definitions/imports and AssertionErrors for code coverage.
2025-06-09 10:10:19 +02:00
Felix Fontein
e90d4d2b0f
Improve type hinting. ( #914 )
2025-06-08 20:48:58 +02:00
Felix Fontein
82522fc07f
Improve typing ( #911 )
...
* Make type checking more strict.
* mypy: warn about unreachable code.
* Enable warn_redundant_casts.
* Enable strict_bytes.
* Look at some warn_return_any warnings.
2025-05-31 10:25:55 +02:00
Felix Fontein
44bcc8cebc
Code refactoring ( #889 )
...
* Add __all__ to all module and plugin utils.
* Convert quite a few positional args to keyword args.
* Avoid Python 3.8+ syntax.
2025-05-16 06:55:57 +02:00
Felix Fontein
a5a4e022ba
Make all module_utils and plugin_utils private ( #887 )
...
* Add leading underscore. Remove deprecated module utils.
* Document module and plugin utils as private. Add changelog fragment.
* Convert relative to absolute imports.
* Remove unnecessary imports.
2025-05-11 19:17:58 +02:00