Skip to content

Commit

Permalink
NotImplementedError is raised if apply_plugin_settings is not redefined
Browse files Browse the repository at this point in the history
  • Loading branch information
Nodd committed Mar 14, 2014
1 parent 575afc6 commit 49a80b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions p_autopep8.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,10 @@ def register_plugin(self):
self.main.source_menu_actions += [None, autopep8_act]
self.main.editor.pythonfile_dependent_actions += [autopep8_act]

def apply_plugin_settings(self, options):
"""Needs to be redefined."""
pass

#------ Public API --------------------------------------------------------
def run_autopep8(self):
"""Format code with autopep8"""
Expand Down

0 comments on commit 49a80b9

Please sign in to comment.