update docstrings for latest black

This commit is contained in:
Damien Elmes 2021-05-07 18:12:56 +10:00
parent 397e226f8b
commit 7442eed41a
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ srcCards = None
def clear_tempfile(tf):
""" https://stackoverflow.com/questions/23212435/permission-denied-to-write-to-my-temporary-file """
"""https://stackoverflow.com/questions/23212435/permission-denied-to-write-to-my-temporary-file"""
try:
tf.close()
os.unlink(tf.name)

View file

@ -406,7 +406,7 @@ $editorToolbar.then(({{ addButton }}) => addButton(editorToolbar.labelButton({{
def onRowChanged(
self, _current: Optional[QItemSelection], _previous: Optional[QItemSelection]
) -> None:
"""Update current note and hide/show editor. """
"""Update current note and hide/show editor."""
if self._closeEventHasCleanedUp:
return