Skip to content

Commit

Permalink
Fix some names
Browse files Browse the repository at this point in the history
  • Loading branch information
AstraLuma committed Oct 23, 2018
1 parent bb86ded commit 4b32377
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ __pycache__/
*.egg-info/
/build/
/dist/
/.mypy_cache/
6 changes: 3 additions & 3 deletions ppb_mutant/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* TONES_HMN, TONES_PAW, TONES_CLW: Valid tone values for specific morphs
* TONES_ALL: Valid tone values for all morphs
"""
from typing import Iterable, Tuple, Optional
from typing import Iterable, Tuple, Optional, Union, Type
import ppb
from ppb.flags import DoNotRender
import os
Expand Down Expand Up @@ -113,8 +113,8 @@ class MutantSprite(ppb.BaseSprite):
* tone: the tone to color with
"""
morph: str = 'hmn'
tone: typing.Optional[str] = None
emoji: typing.Union[str, typing.Type[DoNotRender]] = 'no_entry'
tone: Optional[str] = None
emoji: Union[str, Type[DoNotRender]] = 'no_entry'

_aliases = dict(load_aliases())

Expand Down

0 comments on commit 4b32377

Please sign in to comment.