Upgrade to latest hacking - v6

Includes a single minor change to comply with latest flake8.

Change-Id: Ifda4810940f5c4d963946939f103f65175cc7868
This commit is contained in:
Jay Faulkner 2023-04-21 12:26:23 -07:00
parent 7a00c0d674
commit 853bedce5c
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ def count_mbr_partitions(device):
output = output.replace('<', '').replace('>', '')
partitions = [int(s) for s in output.split() if s.isdigit()]
return(sum(i < 5 for i in partitions), sum(i > 4 for i in partitions))
return (sum(i < 5 for i in partitions), sum(i > 4 for i in partitions))
def get_disk_identifier(dev):

View File

@ -36,7 +36,7 @@ enable-extensions=H106,H203,H204,H205,H210,H904
[testenv:pep8]
deps =
flake8-import-order>=0.17.1 # LGPLv3
hacking>=4.1.0,<5.0.0 # Apache-2.0
hacking~=6.0.0 # Apache-2.0
pycodestyle>=2.0.0,<3.0.0 # MIT
Pygments>=2.2.0 # BSD
doc8>=0.6.0 # Apache 2.0