Skip to content

Commit

Permalink
Linting syntax fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario Ruiz committed Dec 13, 2021
1 parent 2f9740c commit bfcb285
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion pynq_composable/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ def _play(self, algorithm, threshold, k_harris):
self._k_harris.disabled = False
self._harr.k = k_harris


def play(self):
""" Exposes runtime configurations to the user
Expand Down
4 changes: 2 additions & 2 deletions pynq_composable/composable.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ def loadIP(self, dfx_list: list) -> None:
if self._dfx_control:
self._dfx_control[self._dfx_dict[pr]['decouple']].write(0)

def remove(self, iplist: list=None) -> None:
def remove(self, iplist: list = None) -> None:
"""Remove IP object from the current pipeline
Parameters
Expand Down Expand Up @@ -650,7 +650,7 @@ def replace(self, replaceip: tuple) -> None:

self.compose(pipeline)

def tap(self, ip: Union[Type[DefaultIP], int]=None) -> None:
def tap(self, ip: Union[Type[DefaultIP], int] = None) -> None:
"""Observe the output of an IP object in the current pipeline
Tap into the output of any of the IP cores in the current pipeline
Expand Down
4 changes: 2 additions & 2 deletions pynq_composable/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,8 +506,8 @@ class VideoStream:
"""
_fres = "/tmp/resolution.json"

def __init__(self, ol: Overlay, source: VSource=VSource.HDMI,
sink: VSink=VSink.HDMI, file: int = 0,
def __init__(self, ol: Overlay, source: VSource = VSource.HDMI,
sink: VSink = VSink.HDMI, file: int = 0,
mode: VideoMode = None):
"""Return a HDMIVideo object to handle the video path
Expand Down

0 comments on commit bfcb285

Please sign in to comment.