diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 72b7db8..5a6a197 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,3 +28,9 @@ repos: args: [ --fix ] # Run the formatter. - id: ruff-format +- repo: https://github.com/asottile/pyupgrade + rev: v3.20.0 + hooks: + - id: pyupgrade + args: [ --py39-plus ] + exclude: src/uwwvb.py # CircuitPython prevaling standard!