From 18bcb462527c52ff9f6081ed66ccf7489d733cf0 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 15 May 2023 22:17:09 +0000 Subject: [PATCH] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/asottile/pyupgrade: v3.3.1 → v3.4.0](https://github.com/asottile/pyupgrade/compare/v3.3.1...v3.4.0) - [github.com/psf/black: 22.12.0 → 23.3.0](https://github.com/psf/black/compare/22.12.0...23.3.0) - [github.com/PyCQA/isort: 5.11.4 → 5.12.0](https://github.com/PyCQA/isort/compare/5.11.4...5.12.0) - [github.com/PyCQA/docformatter: v1.5.1 → v1.6.5](https://github.com/PyCQA/docformatter/compare/v1.5.1...v1.6.5) - [github.com/asottile/blacken-docs: v1.12.1 → 1.13.0](https://github.com/asottile/blacken-docs/compare/v1.12.1...1.13.0) - [github.com/asottile/dead: v1.5.0 → v1.5.1](https://github.com/asottile/dead/compare/v1.5.0...v1.5.1) - [github.com/PyCQA/pylint: v2.15.9 → v3.0.0a6](https://github.com/PyCQA/pylint/compare/v2.15.9...v3.0.0a6) - [github.com/PyCQA/bandit: 1.7.4 → 1.7.5](https://github.com/PyCQA/bandit/compare/1.7.4...1.7.5) - [github.com/PyCQA/pydocstyle: 6.2.2 → 6.3.0](https://github.com/PyCQA/pydocstyle/compare/6.2.2...6.3.0) - [github.com/pre-commit/mirrors-mypy: v0.991 → v1.3.0](https://github.com/pre-commit/mirrors-mypy/compare/v0.991...v1.3.0) --- .pre-commit-config.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5d21420..dc63b69 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,33 +19,33 @@ repos: # Updating code to use modern python patterns where available. - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.4.0 hooks: - id: pyupgrade # General Project code formatter. - repo: https://github.com/psf/black - rev: 22.12.0 + rev: 23.3.0 hooks: - id: black # Sorts python imports. - repo: https://github.com/PyCQA/isort # Note - on black update blacken-docs pin should also be updated. - rev: 5.11.4 + rev: 5.12.0 hooks: - id: isort args: ['--profile=black'] # Formats python docstrings. - repo: https://github.com/PyCQA/docformatter - rev: v1.5.1 + rev: v1.6.5 hooks: - id: docformatter # Formats code-blocks in documentation. - repo: https://github.com/asottile/blacken-docs - rev: v1.12.1 + rev: 1.13.0 hooks: - id: blacken-docs # Note - on black update blacken-docs pin should also be updated. @@ -53,7 +53,7 @@ repos: # Used to detect unintentionally unused code. - repo: https://github.com/asottile/dead - rev: v1.5.0 + rev: v1.5.1 hooks: - id: dead args: [ @@ -76,7 +76,7 @@ repos: # Lint code in pre-commit env, note: This ignores import checks. - repo: https://github.com/PyCQA/pylint - rev: v2.15.9 + rev: v3.0.0a6 hooks: # Pylint is also run from within pre-commit for CI purposes. - id: pylint @@ -87,7 +87,7 @@ repos: # Lint code for security flaws. - repo: https://github.com/PyCQA/bandit - rev: 1.7.4 + rev: 1.7.5 hooks: - id: bandit # Assert is used exclusively in pytest. @@ -109,7 +109,7 @@ repos: # Lint docstrings. - repo: https://github.com/PyCQA/pydocstyle # Waiting for a 3.10 release on pypi - rev: "6.2.2" + rev: "6.3.0" hooks: - id: pydocstyle additional_dependencies: @@ -118,6 +118,6 @@ repos: # Static typehint linting. - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.991 + rev: v1.3.0 hooks: - id: mypy