Skip to content

Commit

Permalink
style(scripts): fix code style problems
Browse files Browse the repository at this point in the history
  • Loading branch information
mishamyrt committed Nov 24, 2023
1 parent 79c2cba commit 1c9c593
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions scripts/generator/spacers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from glyphsLib import GSGlyph


def _required_spacers(name: str) -> List[str]:
return name.split("_")[0:-1]

Expand Down
2 changes: 2 additions & 0 deletions scripts/preview/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"""Feature preview module"""

from .base import print_features
from .powerline import PowerlineFeature
from .underline import UnderlineFeature
Expand Down
5 changes: 3 additions & 2 deletions scripts/preview/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
class FeaturePreview():
"""Feature preview baseclass"""
name: str = ""

def __init__(self) -> None:
pass
"""Initialized feature"""

def show(self):
pass
"""Prints feature"""

def print_features(features: List[FeaturePreview]):
for fea in features:
Expand Down

0 comments on commit 1c9c593

Please sign in to comment.