diff options
author | Stephen Finucane <stephenfin@redhat.com> | 2022-04-05 13:02:18 +0100 |
---|---|---|
committer | Stephen Finucane <stephenfin@redhat.com> | 2022-04-05 13:02:18 +0100 |
commit | 3fddfa9fc2d83ae6049b08d216331501eed95c82 (patch) | |
tree | f126014b821864d51832b98a33fe175deeb48acb /.pre-commit-config.yaml | |
parent | b082d06cbccd06bd49d9aa2a35ea922190e42cc5 (diff) | |
download | nova-3fddfa9fc2d83ae6049b08d216331501eed95c82.tar.gz |
pre-commit: Sync hacking version, bump plugins
Sync the hacking version used with 'test-requirements.txt'. While we're
at it, bump the various plugins to their latest versions.
Change-Id: I851f67bd04950a30e88f9a737462f98559412cd9
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Diffstat (limited to '.pre-commit-config.yaml')
-rw-r--r-- | .pre-commit-config.yaml | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 83fbb77920..d02bdbdfca 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ default_language_version: python: python3 repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v2.4.0 + rev: v4.1.0 hooks: - id: trailing-whitespace - id: mixed-line-ending @@ -19,7 +19,7 @@ repos: - id: check-yaml files: .*\.(yaml|yml)$ - repo: https://github.com/Lucas-C/pre-commit-hooks - rev: v1.1.7 + rev: v1.1.13 hooks: - id: remove-tabs exclude: '.*\.(svg)$' @@ -28,14 +28,13 @@ repos: - id: flake8 name: flake8 additional_dependencies: - - hacking>=2.0,<3.0 + - hacking>=3.1.0,<3.2.0 language: python entry: flake8 files: '^.*\.py$' exclude: '^(doc|releasenotes|tools)/.*$' - - repo: https://github.com/pre-commit/mirrors-autopep8 - rev: 'v1.5.7' + rev: v1.6.0 hooks: - id: autopep8 files: '^.*\.py$' |