Skip to content

Commit

Permalink
style: exec black
Browse files Browse the repository at this point in the history
  • Loading branch information
englmaxi committed Feb 26, 2024
1 parent e4cda0e commit 1cd784c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion keymap_drawer/draw/combo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Module containing class and methods to draw combo representations."""

from io import StringIO
from math import copysign
from typing import Sequence
Expand Down Expand Up @@ -136,7 +137,9 @@ def print_combo(self, combo: ComboSpec, combo_ind: int) -> Point:
classes=["combo", combo.type, combo.key.type],
)

self._draw_legend(p, self._split_text(combo.key.tap), classes=["combo", combo.type, combo.key.type], legend_type="tap")
self._draw_legend(
p, self._split_text(combo.key.tap), classes=["combo", combo.type, combo.key.type], legend_type="tap"
)
self._draw_legend(
p + Point(0, self.cfg.combo_h / 2 - self.cfg.small_pad),
[combo.key.hold],
Expand Down
1 change: 1 addition & 0 deletions keymap_drawer/keymap.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Module with classes that define the keymap representation, with multiple layers
containing key and combo specifications, paired with the physical keyboard layout.
"""

from collections import defaultdict
from functools import partial
from itertools import chain
Expand Down
1 change: 1 addition & 0 deletions streamlit/app.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"""Redirect users to the canonical URL pointing to the new app."""

import streamlit as st

APP_URL = "https://caksoylar.github.io/keymap-drawer"
Expand Down

0 comments on commit 1cd784c

Please sign in to comment.