Skip to content

Commit

Permalink
chore(deps): pre-commit.ci autoupdate (#405)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/asottile/pyupgrade: v2.25.0 → v2.29.0](asottile/pyupgrade@v2.25.0...v2.29.0)
- [github.com/psf/black: 21.7b0 → 21.9b0](psf/black@21.7b0...21.9b0)
- [github.com/pre-commit/mirrors-prettier: v2.3.2 → v2.4.1](pre-commit/mirrors-prettier@v2.3.2...v2.4.1)
- [github.com/PyCQA/flake8: 3.9.2 → 4.0.1](PyCQA/flake8@3.9.2...4.0.1)
- [github.com/pre-commit/mirrors-mypy: v0.910 → v0.910-1](pre-commit/mirrors-mypy@v0.910...v0.910-1)
- [github.com/openstack/bashate: 2.0.0 → 2.1.0](openstack/bashate@2.0.0...2.1.0)

* style: remove revisions from flake8 and bashate pre-commit hooks

* ci: skip flake8 for now, it's failing

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: W. Augusto Andreoli <andreoliwa@gmail.com>
  • Loading branch information
pre-commit-ci[bot] and andreoliwa committed Oct 25, 2021
1 parent 93c6c52 commit dc2794b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
18 changes: 11 additions & 7 deletions .pre-commit-config.yaml
Expand Up @@ -4,8 +4,12 @@
# Thanks to https://github.com/sloria/environs/blob/master/.pre-commit-config.yaml

# https://pre-commit.ci/#configuration
# TODO: skip flake8 for now, it's failing on CI:
# https://results.pre-commit.ci/run/github/126496135/1635173038.Vb5hHPmFT6q28HG-of-Dvg
# ImportError: cannot import name 'SortImports' from 'isort' (/pc/clone/BQ54X-ogRzmpWm15sdE8hA/py_env-python3/lib/python3.8/site-packages/isort/__init__.py)
# flake8.exceptions.FailedToLoadPlugin: Flake8 failed to load plugin "I00" due to cannot import name 'SortImports' from 'isort' (/pc/clone/BQ54X-ogRzmpWm15sdE8hA/py_env-python3/lib/python3.8/site-packages/isort/__init__.py).
ci:
skip: [local-nitpick, generate-docs, pylint]
skip: [local-nitpick, generate-docs, pylint, flake8]

repos:
- repo: local
Expand Down Expand Up @@ -33,11 +37,11 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade
rev: v2.25.0
rev: v2.29.0
hooks:
- id: pyupgrade
- repo: https://github.com/psf/black
rev: 21.7b0
rev: 21.9b0
hooks:
- id: black
args: [--safe, --quiet]
Expand All @@ -59,12 +63,12 @@ repos:
- id: python-no-log-warn
- id: rst-backticks
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.3.2
rev: v2.4.1
hooks:
- id: prettier
stages: [commit]
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
rev: 4.0.1
hooks:
- id: flake8
additional_dependencies:
Expand All @@ -82,7 +86,7 @@ repos:
yesqa,
]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910
rev: v0.910-1
hooks:
- id: mypy
# Install additional types to fix new warnings that appeared on v0.910:
Expand Down Expand Up @@ -110,7 +114,7 @@ repos:
args: [--ini, setup.cfg]
exclude: tests/
- repo: https://github.com/openstack/bashate
rev: 2.0.0
rev: 2.1.0
hooks:
- id: bashate
# https://docs.openstack.org/bashate/latest/man/bashate.html#options
Expand Down
2 changes: 0 additions & 2 deletions docs/examples.rst
Expand Up @@ -126,7 +126,6 @@ Contents of `styles/flake8.toml <https://github.com/andreoliwa/nitpick/blob/v0.2
[[".pre-commit-config.yaml".repos]]
yaml = """
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8
additional_dependencies:
Expand Down Expand Up @@ -266,7 +265,6 @@ Contents of `styles/pre-commit/bash.toml <https://github.com/andreoliwa/nitpick/
[[".pre-commit-config.yaml".repos]]
yaml = """
- repo: https://github.com/openstack/bashate
rev: 2.0.0
hooks:
- id: bashate
"""
Expand Down
1 change: 0 additions & 1 deletion styles/flake8.toml
Expand Up @@ -13,7 +13,6 @@ exclude = ".tox,build"
[[".pre-commit-config.yaml".repos]]
yaml = """
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8
additional_dependencies:
Expand Down
1 change: 0 additions & 1 deletion styles/pre-commit/bash.toml
@@ -1,7 +1,6 @@
[[".pre-commit-config.yaml".repos]]
yaml = """
- repo: https://github.com/openstack/bashate
rev: 2.0.0
hooks:
- id: bashate
"""

0 comments on commit dc2794b

Please sign in to comment.