pre-commit: Update plugin versions
Generated with 'pre-commit autoupdate' plus a manual update for the local hacking plugin. Change-Id: I4665d977bb8c720975d9259b4da0471c76e443a7 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
@@ -4,7 +4,7 @@ default_language_version:
|
||||
python: python3
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.1.0
|
||||
rev: v4.4.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.13
|
||||
rev: v1.5.4
|
||||
hooks:
|
||||
- id: remove-tabs
|
||||
exclude: '.*\.(svg)$'
|
||||
@@ -28,13 +28,13 @@ repos:
|
||||
- id: flake8
|
||||
name: flake8
|
||||
additional_dependencies:
|
||||
- hacking>=3.1.0,<3.2.0
|
||||
- hacking~=6.0.1
|
||||
language: python
|
||||
entry: flake8
|
||||
files: '^.*\.py$'
|
||||
exclude: '^(doc|releasenotes|tools)/.*$'
|
||||
- repo: https://github.com/pre-commit/mirrors-autopep8
|
||||
rev: v1.6.0
|
||||
rev: v2.0.4
|
||||
hooks:
|
||||
- id: autopep8
|
||||
files: '^.*\.py$'
|
||||
|
||||
@@ -73,7 +73,7 @@ class ServerTopologyTestV278(test.NoDBTestCase):
|
||||
'siblings': [],
|
||||
'vcpu_set': set([0, 1]),
|
||||
'host_node': 0,
|
||||
'cpu_pinning':{}}],
|
||||
'cpu_pinning': {}}],
|
||||
'pagesize_kb': 4}
|
||||
|
||||
inst = objects.instance.Instance(uuid=self.uuid, host='123',
|
||||
|
||||
@@ -102,7 +102,6 @@ class RescueServerPolicyTest(base.BasePolicyTest):
|
||||
class RescueServerNoLegacyNoScopePolicyTest(RescueServerPolicyTest):
|
||||
"""Test rescue/unrescue server APIs policies with no legacy deprecated
|
||||
rules and no scope checks which means new defaults only.
|
||||
|
||||
"""
|
||||
|
||||
without_deprecated_rules = True
|
||||
|
||||
Reference in New Issue
Block a user