Skip to content

Commit

Permalink
fix typo in RootFinder.__str__. fix pylint step in ci build.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippSchuette committed Apr 3, 2023
1 parent 5239eb7 commit 47b1c5b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ jobs:
- name: Lint with pylama
run: |
pylama pyzeal
- name: Lint with pylint
run: |
pylint pyzeal
- name: Type checking with mypy
run: |
mypy pyzeal
Expand Down
2 changes: 1 addition & 1 deletion pyzeal/rootfinders/parallel_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def __str__(self) -> str:
return (
"ParallelRootFinder(f="
+ f"{getattr(self.f, '__name__', '<unnamed>')}, "
+ "df=None"
+ "df=None)"
)

def calculateRoots(
Expand Down
2 changes: 1 addition & 1 deletion pyzeal/rootfinders/rootfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def __str__(self) -> str:
)
return (
f"RootFinder(f={getattr(self.f, '__name__', '<unnamed>')}, "
+ "df=None"
+ "df=None)"
)

def calculateRoots(
Expand Down

0 comments on commit 47b1c5b

Please sign in to comment.