Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate
Browse files Browse the repository at this point in the history
updates:
- [github.com/asottile/pyupgrade: v3.3.1 → v3.4.0](asottile/pyupgrade@v3.3.1...v3.4.0)
- [github.com/psf/black: 22.12.0 → 23.3.0](psf/black@22.12.0...23.3.0)
- [github.com/PyCQA/isort: 5.11.4 → 5.12.0](PyCQA/isort@5.11.4...5.12.0)
- [github.com/PyCQA/docformatter: v1.5.1 → v1.6.5](PyCQA/docformatter@v1.5.1...v1.6.5)
- [github.com/asottile/blacken-docs: v1.12.1 → 1.13.0](adamchainz/blacken-docs@v1.12.1...1.13.0)
- [github.com/asottile/dead: v1.5.0 → v1.5.1](asottile/dead@v1.5.0...v1.5.1)
- [github.com/PyCQA/pylint: v2.15.9 → v3.0.0a6](pylint-dev/pylint@v2.15.9...v3.0.0a6)
- [github.com/PyCQA/bandit: 1.7.4 → 1.7.5](PyCQA/bandit@1.7.4...1.7.5)
- [github.com/PyCQA/pydocstyle: 6.2.2 → 6.3.0](PyCQA/pydocstyle@6.2.2...6.3.0)
- [github.com/pre-commit/mirrors-mypy: v0.991 → v1.3.0](pre-commit/mirrors-mypy@v0.991...v1.3.0)
  • Loading branch information
pre-commit-ci[bot] authored May 15, 2023
1 parent 87033dd commit 18bcb46
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,41 +19,41 @@ 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.
additional_dependencies: ['black==22.12.0']

# Used to detect unintentionally unused code.
- repo: https://github.com/asottile/dead
rev: v1.5.0
rev: v1.5.1
hooks:
- id: dead
args: [
Expand All @@ -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
Expand All @@ -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.
Expand All @@ -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:
Expand All @@ -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

0 comments on commit 18bcb46

Please sign in to comment.