From 34dda516f1ff16fd72748cdb1d4a8ae240b40ded Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 30 Apr 2024 11:16:31 +0530 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate (#765) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.1...v0.4.2) - [github.com/psf/black: 24.4.0 → 24.4.2](https://github.com/psf/black/compare/24.4.0...24.4.2) * Remove autoflake --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kiran Jonnalagadda --- .pre-commit-config.yaml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) 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