fix code style

This commit is contained in:
Anton Vakhrushev 2015-12-27 09:28:03 +03:00
parent d2e4bdcd6c
commit d314ed39a1
2 changed files with 3 additions and 2 deletions

View File

@ -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))

View File

@ -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):