diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e5b1a9b..50fe980 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -55,7 +55,7 @@ repos: - id: pretty-format-json - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 8983acb92ee4b01924893632cf90af926fa608f0 # frozen: v0.7.0 + rev: 89c421dff2e1026ba12cdb9ebd731f4a83aa8021 # frozen: v0.8.6 hooks: - id: ruff args: diff --git a/src/pisco/input_output/backlight.py b/src/pisco/input_output/backlight.py index 29a6cd2..fc473b9 100644 --- a/src/pisco/input_output/backlight.py +++ b/src/pisco/input_output/backlight.py @@ -22,7 +22,7 @@ class AbstractBacklight(contextlib.AbstractContextManager["AbstractBacklight"]): """ def __exit__( - self, __exc_type: object, __exc_value: object, __traceback: object + self, _exc_type: object, _exc_value: object, _traceback: object ) -> None: """Activates the backlight.""" logger.info("Exiting backlight context ...")