Clean up imports and terminal newlines in files according to pylint
This commit is contained in:
parent
372cd5f295
commit
d0a2e2c2ef
4 changed files with 15 additions and 9 deletions
|
@ -1,10 +1,12 @@
|
|||
#!/usr/bin/env python3
|
||||
# Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
import tcod
|
||||
from .geometry import Point
|
||||
from typing import Optional, Tuple
|
||||
|
||||
import tcod
|
||||
|
||||
from .geometry import Point
|
||||
|
||||
class Entity:
|
||||
'''A single-tile drawable entity with a symbol and position.'''
|
||||
|
||||
|
@ -28,4 +30,4 @@ class Entity:
|
|||
|
||||
class Hero(Entity):
|
||||
def __init__(self, position: Point):
|
||||
super().__init__('@', position=position, fg=tuple(tcod.white))
|
||||
super().__init__('@', position=position, fg=tuple(tcod.white))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue