Format fixes from black

This commit is contained in:
Richard Bowman 2022-08-09 09:37:03 +01:00
parent 5404521458
commit 78ef9c531b
2 changed files with 4 additions and 2 deletions

View file

@ -245,7 +245,9 @@ def extension_action(args=None):
# Run the action
return func(self.extension, **arguments)
def get(self, *args, **kwargs): # pylint: disable=useless-super-delegation,arguments-differ
def get(
self, *args, **kwargs
): # pylint: disable=useless-super-delegation,arguments-differ
# Explicitly wrap the `get` method to allow us to add a docstring
return super().get(*args, **kwargs)

View file

@ -121,7 +121,7 @@ class CaptureObject(object):
def open(self, mode):
# We don't specify an encoding because this will be a binary file.
return open(self.file, mode) # pylint: disable=unspecified-encoding
return open(self.file, mode) # pylint: disable=unspecified-encoding
def split_file_path(self, filepath: str):
"""