Skip to content

Commit

Permalink
refactor: Updating linting control comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nfelt14 committed Jul 23, 2024
1 parent 8e0357c commit d41003f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/tm_devices/drivers/pi/pi_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ def query_raw_binary(self, query: str, verbose: bool = True) -> bytes:

return response

def query_response( # noqa: PLR0913
def query_response(
self,
query: str,
value: Union[str, float],
Expand Down Expand Up @@ -657,7 +657,7 @@ def reset_visa_timeout(self) -> None:
"""Reset the VISA timeout to the default value."""
self.visa_timeout = self._default_visa_timeout

def set_and_check(
def set_and_check( # noqa: PLR0913
self,
command: str,
value: Union[str, float],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def run_script(self, script_name: str) -> None: # noqa: ARG002
msg = f"This functionality is not available on the {self.__class__.__name__} instrument."
raise NotImplementedError(msg)

def set_and_check(
def set_and_check( # noqa: PLR0913
self,
command: str,
value: Union[str, float],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def run_script(self, script_name: str) -> None: # noqa: ARG002
msg = f"This functionality is not available on the {self.__class__.__name__} instrument."
raise NotImplementedError(msg)

def set_and_check(
def set_and_check( # noqa: PLR0913
self,
command: str,
value: Union[str, float],
Expand Down
2 changes: 1 addition & 1 deletion src/tm_devices/drivers/pi/tsp_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def run_script(self, script_name: str) -> None:
"""
self.write(f"{script_name}()")

def set_and_check(
def set_and_check( # noqa: PLR0913
self,
command: str,
value: Union[str, float],
Expand Down

0 comments on commit d41003f

Please sign in to comment.