mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-16 05:24:20 +02:00
Add newslines at end of generated files and do imports in sorted order
This commit is contained in:
10
kitty/options/parse.py
generated
10
kitty/options/parse.py
generated
@@ -2,6 +2,10 @@
|
||||
# vim:fileencoding=utf-8
|
||||
|
||||
import typing
|
||||
from kitty.conf.utils import (
|
||||
merge_dicts, positive_float, positive_int, to_bool, to_cmdline, to_color, to_color_or_none,
|
||||
unit_float
|
||||
)
|
||||
from kitty.options.utils import (
|
||||
active_tab_title_template, adjust_line_height, allow_hyperlinks, allow_remote_control,
|
||||
box_drawing_scale, clear_all_shortcuts, clipboard_control, config_or_absolute_path, copy_on_select,
|
||||
@@ -14,10 +18,6 @@ from kitty.options.utils import (
|
||||
to_font_size, to_layout_names, to_modifiers, url_prefixes, url_style, window_border_width,
|
||||
window_size
|
||||
)
|
||||
from kitty.conf.utils import (
|
||||
merge_dicts, positive_float, positive_int, to_bool, to_cmdline, to_color, to_color_or_none,
|
||||
unit_float
|
||||
)
|
||||
|
||||
|
||||
class Parser:
|
||||
@@ -1288,4 +1288,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
|
||||
|
||||
Reference in New Issue
Block a user