* Ruff fixes

* Ruff fixes

* from __future__ import annotations breaks MicroPython

* noqa: FURB188 because there is no str.replacesuffix() in MicroPython

* Add ruff to pre-commit
This commit is contained in:
Christian Clauss
2025-02-20 09:43:09 +01:00
committed by GitHub
parent 0366e48fad
commit 46239caa19
20 changed files with 117 additions and 100 deletions

View File

@@ -4,4 +4,4 @@ def runtime_version():
return sys.version
__export__ = ['runtime_version']
__export__ = ["runtime_version"]