Dont run isort on generated conf files
This commit is contained in:
parent
7fe5d7b58f
commit
6e41409a3f
2
kittens/diff/options/parse.py
generated
2
kittens/diff/options/parse.py
generated
@ -1,7 +1,7 @@
|
|||||||
# generated by gen-config.py DO NOT edit
|
# generated by gen-config.py DO NOT edit
|
||||||
|
|
||||||
|
# isort: skip_file
|
||||||
import typing
|
import typing
|
||||||
|
|
||||||
from kittens.diff.options.utils import parse_map, store_multiple, syntax_aliases
|
from kittens.diff.options.utils import parse_map, store_multiple, syntax_aliases
|
||||||
from kitty.conf.utils import merge_dicts, positive_int, python_string, to_color, to_color_or_none
|
from kitty.conf.utils import merge_dicts, positive_int, python_string, to_color, to_color_or_none
|
||||||
|
|
||||||
|
|||||||
1
kittens/diff/options/types.py
generated
1
kittens/diff/options/types.py
generated
@ -1,5 +1,6 @@
|
|||||||
# generated by gen-config.py DO NOT edit
|
# generated by gen-config.py DO NOT edit
|
||||||
|
|
||||||
|
# isort: skip_file
|
||||||
import typing
|
import typing
|
||||||
from kitty.conf.utils import KeyAction, KittensKeyMap
|
from kitty.conf.utils import KeyAction, KittensKeyMap
|
||||||
import kitty.conf.utils
|
import kitty.conf.utils
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
# generated by gen-config.py DO NOT edit
|
# generated by gen-config.py DO NOT edit
|
||||||
|
|
||||||
|
# isort: skip_file
|
||||||
import typing
|
import typing
|
||||||
|
|
||||||
from kittens.ssh.options.utils import copy, env, hostname
|
from kittens.ssh.options.utils import copy, env, hostname
|
||||||
from kitty.conf.utils import merge_dicts, to_bool
|
from kitty.conf.utils import merge_dicts, to_bool
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
# generated by gen-config.py DO NOT edit
|
# generated by gen-config.py DO NOT edit
|
||||||
|
|
||||||
|
# isort: skip_file
|
||||||
import typing
|
import typing
|
||||||
import kittens.ssh.copy
|
import kittens.ssh.copy
|
||||||
|
|
||||||
|
|||||||
@ -345,6 +345,7 @@ def generate_class(defn: Definition, loc: str) -> Tuple[str, str]:
|
|||||||
a = preamble.append
|
a = preamble.append
|
||||||
|
|
||||||
def output_imports(imports: Set[Tuple[str, str]], add_module_imports: bool = True) -> None:
|
def output_imports(imports: Set[Tuple[str, str]], add_module_imports: bool = True) -> None:
|
||||||
|
a('# isort: skip_file')
|
||||||
a('import typing')
|
a('import typing')
|
||||||
seen_mods = {'typing'}
|
seen_mods = {'typing'}
|
||||||
mmap: Dict[str, List[str]] = {}
|
mmap: Dict[str, List[str]] = {}
|
||||||
|
|||||||
73
kitty/options/parse.py
generated
73
kitty/options/parse.py
generated
@ -1,63 +1,24 @@
|
|||||||
# generated by gen-config.py DO NOT edit
|
# generated by gen-config.py DO NOT edit
|
||||||
|
|
||||||
|
# isort: skip_file
|
||||||
import typing
|
import typing
|
||||||
|
from kitty.conf.utils import (
|
||||||
from kitty.conf.utils import merge_dicts, positive_float, positive_int, to_bool, to_cmdline, to_color, to_color_or_none, unit_float
|
merge_dicts, positive_float, positive_int, to_bool, to_cmdline, to_color, to_color_or_none,
|
||||||
|
unit_float
|
||||||
|
)
|
||||||
from kitty.options.utils import (
|
from kitty.options.utils import (
|
||||||
action_alias,
|
action_alias, active_tab_title_template, allow_hyperlinks, bell_on_tab, box_drawing_scale,
|
||||||
active_tab_title_template,
|
clear_all_mouse_actions, clear_all_shortcuts, clipboard_control, clone_source_strategies,
|
||||||
allow_hyperlinks,
|
config_or_absolute_path, copy_on_select, cursor_text_color, deprecated_adjust_line_height,
|
||||||
bell_on_tab,
|
deprecated_hide_window_decorations_aliases, deprecated_macos_show_window_title_in_menubar_alias,
|
||||||
box_drawing_scale,
|
deprecated_send_text, disable_ligatures, edge_width, env, font_features, hide_window_decorations,
|
||||||
clear_all_mouse_actions,
|
macos_option_as_alt, macos_titlebar_color, modify_font, narrow_symbols, optional_edge_width,
|
||||||
clear_all_shortcuts,
|
parse_map, parse_mouse_map, paste_actions, remote_control_password, resize_draw_strategy,
|
||||||
clipboard_control,
|
scrollback_lines, scrollback_pager_history_size, shell_integration, store_multiple, symbol_map,
|
||||||
clone_source_strategies,
|
tab_activity_symbol, tab_bar_edge, tab_bar_margin_height, tab_bar_min_tabs, tab_fade,
|
||||||
config_or_absolute_path,
|
tab_font_style, tab_separator, tab_title_template, titlebar_color, to_cursor_shape, to_font_size,
|
||||||
copy_on_select,
|
to_layout_names, to_modifiers, url_prefixes, url_style, visual_window_select_characters,
|
||||||
cursor_text_color,
|
window_border_width, window_size
|
||||||
deprecated_adjust_line_height,
|
|
||||||
deprecated_hide_window_decorations_aliases,
|
|
||||||
deprecated_macos_show_window_title_in_menubar_alias,
|
|
||||||
deprecated_send_text,
|
|
||||||
disable_ligatures,
|
|
||||||
edge_width,
|
|
||||||
env,
|
|
||||||
font_features,
|
|
||||||
hide_window_decorations,
|
|
||||||
macos_option_as_alt,
|
|
||||||
macos_titlebar_color,
|
|
||||||
modify_font,
|
|
||||||
narrow_symbols,
|
|
||||||
optional_edge_width,
|
|
||||||
parse_map,
|
|
||||||
parse_mouse_map,
|
|
||||||
paste_actions,
|
|
||||||
remote_control_password,
|
|
||||||
resize_draw_strategy,
|
|
||||||
scrollback_lines,
|
|
||||||
scrollback_pager_history_size,
|
|
||||||
shell_integration,
|
|
||||||
store_multiple,
|
|
||||||
symbol_map,
|
|
||||||
tab_activity_symbol,
|
|
||||||
tab_bar_edge,
|
|
||||||
tab_bar_margin_height,
|
|
||||||
tab_bar_min_tabs,
|
|
||||||
tab_fade,
|
|
||||||
tab_font_style,
|
|
||||||
tab_separator,
|
|
||||||
tab_title_template,
|
|
||||||
titlebar_color,
|
|
||||||
to_cursor_shape,
|
|
||||||
to_font_size,
|
|
||||||
to_layout_names,
|
|
||||||
to_modifiers,
|
|
||||||
url_prefixes,
|
|
||||||
url_style,
|
|
||||||
visual_window_select_characters,
|
|
||||||
window_border_width,
|
|
||||||
window_size,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
1
kitty/options/types.py
generated
1
kitty/options/types.py
generated
@ -1,5 +1,6 @@
|
|||||||
# generated by gen-config.py DO NOT edit
|
# generated by gen-config.py DO NOT edit
|
||||||
|
|
||||||
|
# isort: skip_file
|
||||||
import typing
|
import typing
|
||||||
from array import array
|
from array import array
|
||||||
from kitty.constants import is_macos
|
from kitty.constants import is_macos
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user