This commit is contained in:
Will McGugan 2020-10-09 15:39:17 +01:00
parent 31423ad5e9
commit c3db5a8c0d
3 changed files with 6 additions and 8 deletions

View File

@ -1,7 +1,7 @@
from functools import lru_cache
import math
from functools import lru_cache
from time import monotonic
from typing import Iterable, Optional, List
from typing import Iterable, List, Optional
from .color import Color, blend_rgb
from .color_triplet import ColorTriplet
@ -11,7 +11,6 @@ from .measure import Measurement
from .segment import Segment
from .style import Style, StyleType
# Number of characters before 'pulse' animation repeats
PULSE_SIZE = 20

View File

@ -1,9 +1,9 @@
from typing import Iterable, List, Optional, overload, TYPE_CHECKING
from typing import TYPE_CHECKING, Iterable, List
from typing_extensions import Literal
from ._loop import loop_last
if TYPE_CHECKING:
from rich.console import ConsoleOptions
@ -429,10 +429,11 @@ if __name__ == "__main__": # pragma: no cover
from rich.columns import Columns
from rich.panel import Panel
from . import box
from .console import Console
from .table import Table
from .text import Text
from . import box
console = Console(record=True)

View File

@ -1,6 +1,4 @@
import codecs
import inspect
import io
import os
import platform
import shutil