Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#4041)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/pre-commit/mirrors-prettier: v3.0.2 →
v3.0.3](pre-commit/mirrors-prettier@v3.0.2...v3.0.3)
- [github.com/psf/black: 23.7.0 →
23.9.1](psf/black@23.7.0...23.9.1)
- [github.com/astral-sh/ruff-pre-commit: v0.0.285 →
v0.0.287](astral-sh/ruff-pre-commit@v0.0.285...v0.0.287)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Sorin Sbarnea <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and ssbarnea authored Oct 16, 2023
1 parent 85258d1 commit 7d6fa0f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ default_language_version:
repos:
- repo: https://github.com/pre-commit/mirrors-prettier
# keep it before yamllint
rev: "v3.0.2"
rev: "v3.0.3"
hooks:
- id: prettier
# Temporary excludes so we can gradually normalize the formatting
Expand All @@ -16,16 +16,16 @@ repos:
- prettier
- prettier-plugin-toml
- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
rev: v2.2.6
hooks:
- id: codespell
- repo: https://github.com/psf/black
rev: 23.7.0
rev: 23.9.1
hooks:
- id: black
language_version: python3
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v4.4.0
rev: v4.5.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
Expand All @@ -44,12 +44,12 @@ repos:
types: [file, yaml]
entry: yamllint --strict
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.0.285"
rev: "v0.0.292"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.5.1
rev: v1.6.0
hooks:
- id: mypy
# empty args needed in order to match mypy cli behavior
Expand All @@ -74,7 +74,7 @@ repos:
- types-setuptools
- wcmatch
- repo: https://github.com/pycqa/pylint
rev: v3.0.0a7
rev: v3.0.1
hooks:
- id: pylint
args:
Expand Down
2 changes: 1 addition & 1 deletion src/molecule/command/matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@


class Matrix(base.Base):
"""Matric Command Class.
"""Matrix Command Class.
.. program:: molecule matrix subcommand
Expand Down
2 changes: 1 addition & 1 deletion src/molecule/interpolation.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

# Taken from Docker Compose:
# https://github.com/docker/compose/blob/master/compose/config/interpolation.py
"""Iterpolation Module."""
"""Interpolation Module."""

import string
from collections.abc import MutableMapping
Expand Down
2 changes: 1 addition & 1 deletion src/molecule/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def verbose_flag(options):
"""Return computed verbosity flag."""
verbose = "v"
verbose_flag = []
for _i in range(0, 3):
for _i in range(3):
if options.get(verbose):
verbose_flag = [f"-{verbose}"]
del options[verbose]
Expand Down

0 comments on commit 7d6fa0f

Please sign in to comment.