Skip to content

Commit

Permalink
Fix some long lines in docstrings (#1680)
Browse files Browse the repository at this point in the history
The most recent version of flake8 (v5.0.4) picks up some long line errors that weren't picked up by previous versions. This PR fixes those long lines.
  • Loading branch information
mdickinson committed Aug 4, 2022
1 parent ff2bb19 commit 7a6803e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion traits/observation/_observer_change_notifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def __call__(self, *args, **kwargs):
)

def equals(self, other):
""" Return true if the other value is a notifier equivalent to this one.
""" Return true if other is a notifier equivalent to this one.
Parameters
----------
Expand Down
2 changes: 1 addition & 1 deletion traits/observation/exception_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def pop_exception_handler(self):
return self.handlers.pop()

def handle_exception(self, event):
""" Handles a traits notification exception using the handler last pushed.
""" Handle a notification exception using the handler last pushed.
Parameters
----------
Expand Down

0 comments on commit 7a6803e

Please sign in to comment.