diff --git a/pylib/tests/test_importing.py b/pylib/tests/test_importing.py index 129c2413d..2fbbe4903 100644 --- a/pylib/tests/test_importing.py +++ b/pylib/tests/test_importing.py @@ -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) diff --git a/qt/aqt/browser/browser.py b/qt/aqt/browser/browser.py index d5fa1436d..7e76930cb 100644 --- a/qt/aqt/browser/browser.py +++ b/qt/aqt/browser/browser.py @@ -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