diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b008630..205ae84 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,6 +10,19 @@ repos: args: [--unittest] - id: requirements-txt-fixer +- repo: https://github.com/asottile/pyupgrade + rev: v3.17.0 + hooks: + - id: pyupgrade + args: ["--py310-plus"] + +- repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.6.7 + hooks: + # Run the linter. + - id: ruff + args: ["--fix"] + - repo: https://github.com/psf/black-pre-commit-mirror rev: 23.9.1 hooks: