Python: Add type annotations

This commit is contained in:
Martin Thoma
2022-03-19 22:10:26 +01:00
committed by Alexander Wunschik
parent b95a514e84
commit 83b3dc402c
79 changed files with 509 additions and 461 deletions

View File

@@ -25,7 +25,7 @@ import math
import time
def main():
def main() -> None:
# Constants
STRINGS = ("Creative", "Computing") # Text to display
MAX_LINES = 160
@@ -42,7 +42,7 @@ def main():
# "REMarkable program by David Ahl"
string_index = 0
radians = 0
radians: float = 0
width = CENTER - 1
# "Start long loop"