diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5b045d72..434aefa4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,23 +9,11 @@ repos: - id: pyupgrade args: ['--keep-runtime-typing', '--py311-plus'] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.1 + rev: v0.4.2 hooks: - id: ruff args: ['--fix', '--exit-non-zero-on-fix'] # Extra args, only after removing flake8 and yesqa: '--extend-select', 'RUF100' - - repo: https://github.com/lucasmbrown/mirrors-autoflake - rev: v1.3 - hooks: - - id: autoflake - args: - [ - '--in-place', - '--remove-all-unused-imports', - '--ignore-init-module-imports', - '--remove-unused-variable', - '--remove-duplicate-keys', - ] - repo: https://github.com/asottile/pyupgrade rev: v3.15.2 hooks: @@ -56,7 +44,7 @@ repos: additional_dependencies: - toml - repo: https://github.com/psf/black - rev: 24.4.0 + rev: 24.4.2 hooks: - id: black - repo: https://github.com/PyCQA/flake8