Skip to content

Commit

Permalink
style: Remove unnecessary parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgate committed Apr 24, 2024
1 parent 298d05c commit 8ab3a3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions shell_logger/stats_collector.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def collect(self):
Raises:
AbstractMethod: This must be overridden by subclasses.
"""
raise AbstractMethod()
raise AbstractMethod

@abstractmethod
def unproxied_stats(self):
Expand All @@ -132,7 +132,7 @@ def unproxied_stats(self):
Raises:
AbstractMethod: This must be overridden by subclasses.
"""
raise AbstractMethod()
raise AbstractMethod

def finish(self):
"""
Expand Down
2 changes: 1 addition & 1 deletion shell_logger/trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def trace_args(self) -> str:
Raises:
AbstractMethod: This needs to be overridden by subclasses.
"""
raise AbstractMethod()
raise AbstractMethod

def command(self, command: str):
"""
Expand Down

0 comments on commit 8ab3a3a

Please sign in to comment.