Add newslines at end of generated files and do imports in sorted order

This commit is contained in:
Kovid Goyal 2021-05-31 17:45:02 +05:30
parent c1324da3fc
commit 8f491e7dbb
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
5 changed files with 20 additions and 20 deletions

View file

@ -2,8 +2,8 @@
# vim:fileencoding=utf-8
import typing
from kitty.conf.utils import merge_dicts, positive_int, python_string, to_color, to_color_or_none
from kittens.diff.options.utils import parse_map, syntax_aliases
from kitty.conf.utils import merge_dicts, positive_int, python_string, to_color, to_color_or_none
class Parser:
@ -117,4 +117,4 @@ def parse_conf_item(key: str, val: str, ans: typing.Dict[str, typing.Any]) -> bo
if func is not None:
func(val, ans)
return True
return False
return False