Merge "Bump hacking"

This commit is contained in:
Zuul
2024-04-29 16:03:50 +00:00
committed by Gerrit Code Review
3 changed files with 12 additions and 19 deletions

View File

@@ -15,7 +15,6 @@
import re import re
from hacking import core from hacking import core
import pycodestyle
# D701: Default parameter value is a mutable type # D701: Default parameter value is a mutable type
# D702: Log messages require translation # D702: Log messages require translation
@@ -49,8 +48,8 @@ no_line_continuation_backslash_re = re.compile(r'.*(\\)\n')
@core.flake8ext @core.flake8ext
def mutable_default_arguments(physical_line, logical_line, filename): def mutable_default_arguments(logical_line, filename, noqa):
if pycodestyle.noqa(physical_line): if noqa:
return return
if mutable_default_argument_check.match(logical_line): if mutable_default_argument_check.match(logical_line):

View File

@@ -2,9 +2,6 @@
# date but we do not test them so no guarantee of having them all correct. If # date but we do not test them so no guarantee of having them all correct. If
# you find any incorrect lower bounds, let us know or propose a fix. # you find any incorrect lower bounds, let us know or propose a fix.
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
cliff!=2.9.0,>=2.8.0 # Apache-2.0 cliff!=2.9.0,>=2.8.0 # Apache-2.0
jsonschema>=3.2.0 # MIT jsonschema>=3.2.0 # MIT
osc-lib>=1.8.0 # Apache-2.0 osc-lib>=1.8.0 # Apache-2.0

View File

@@ -1,8 +1,5 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
# Hacking already pins down pep8, pyflakes and flake8 # Hacking already pins down pep8, pyflakes and flake8
hacking>=3.0.1,<3.1.0 # Apache-2.0 hacking>=6.1.0,<6.2.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0
oslo.config>=5.2.0 # Apache-2.0 oslo.config>=5.2.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0