misc,python: Run pre-commit run --all-files
Applies the `pyupgrade` hook to all files in the repo. Change-Id: I9879c634a65c5fcaa9567c63bc5977ff97d5d3bf
This commit is contained in:
@@ -140,7 +140,7 @@ def findProg(program, cleanupDev=None):
|
||||
return out.strip()
|
||||
|
||||
|
||||
class LoopbackDevice(object):
|
||||
class LoopbackDevice:
|
||||
def __init__(self, devFile=None):
|
||||
self.devFile = devFile
|
||||
|
||||
@@ -228,7 +228,7 @@ commands = {}
|
||||
commandOrder = []
|
||||
|
||||
|
||||
class Command(object):
|
||||
class Command:
|
||||
def addArgument(self, *args, **kargs):
|
||||
self.parser.add_argument(*args, **kargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user