fix code style
This commit is contained in:
parent
d2e4bdcd6c
commit
d314ed39a1
@ -62,4 +62,5 @@ class TypographSelectionCommand(sublime_plugin.TextCommand):
|
||||
if key in DEFAULT_SETTINGS:
|
||||
local_settings[key] = project_settings[key]
|
||||
else:
|
||||
print('{}: invalid key "{}" in project settings'.format(PLUGIN_NAME, key))
|
||||
msg = '{}: invalid key "{}" in project settings'
|
||||
print(msg.format(PLUGIN_NAME, key))
|
||||
|
@ -15,7 +15,7 @@ class TypographError(RuntimeError):
|
||||
|
||||
class Typograph(object):
|
||||
|
||||
def __init__(self, rules = None):
|
||||
def __init__(self, rules=None):
|
||||
self.rules = self.__prepare_rules(rules)
|
||||
|
||||
def process(self, text):
|
||||
|
Loading…
Reference in New Issue
Block a user