Skip to content

Commit

Permalink
Fix minor style issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Jul 26, 2022
1 parent c431e78 commit 0910c88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spyder/config/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,11 +400,11 @@ def notify_section_all_observers(self, section: str):
# See above explanation.
pass

def disable_notifications(self, section:str, option:ConfigurationKey):
def disable_notifications(self, section: str, option: ConfigurationKey):
"""Disable notitications for `option` in `section`."""
self._disabled_options.append((section, option))

def restore_notifications(self, section:str, option:ConfigurationKey):
def restore_notifications(self, section: str, option: ConfigurationKey):
"""Restore notitications for disabled `option` in `section`."""
try:
self._disabled_options.remove((section, option))
Expand Down

0 comments on commit 0910c88

Please sign in to comment.