Run pycln over the entire project and double check the accuracy.

This commit is contained in:
Hadi Alqattan 2022-02-26 16:23:38 +03:00
parent d97f9bcdf6
commit 73a9a413ea
12 changed files with 5 additions and 12 deletions

View File

@ -4,7 +4,7 @@ A rudimentary URL downloader (like wget or curl) to demonstrate Rich progress ba
import os.path
import sys
from concurrent.futures import as_completed, ThreadPoolExecutor
from concurrent.futures import ThreadPoolExecutor
import signal
from functools import partial
from threading import Event

View File

@ -3,7 +3,6 @@
import os
from typing import Callable, IO, TYPE_CHECKING, Any, Optional, Union
from ._extension import load_ipython_extension
__all__ = ["get_console", "reconfigure", "print", "inspect"]

View File

@ -1,4 +1,4 @@
from typing import Any, Callable, Dict, Iterable, List, TYPE_CHECKING, Union
from typing import Callable, Dict, Iterable, List, TYPE_CHECKING, Union
from .segment import ControlCode, ControlType, Segment

View File

@ -1,5 +1,5 @@
from abc import ABC, abstractmethod
from typing import Any, Callable
from typing import Any
class Pager(ABC):

View File

@ -1,4 +1,4 @@
from typing import Any, Callable, cast, Set, TYPE_CHECKING
from typing import Any, cast, Set, TYPE_CHECKING
from inspect import isclass
if TYPE_CHECKING:

View File

@ -14,7 +14,7 @@ from pygments.token import Text as TextToken
from pygments.token import Token
from . import pretty
from ._loop import loop_first, loop_last
from ._loop import loop_last
from .columns import Columns
from .console import Console, ConsoleOptions, ConsoleRenderable, RenderResult, group
from .constrain import Constrain

View File

@ -1,4 +1,3 @@
import io
from rich.ansi import AnsiDecoder
from rich.console import Console

View File

@ -1,5 +1,4 @@
# encoding=utf-8
import io
import time
from typing import Optional

View File

@ -1,6 +1,5 @@
from __future__ import unicode_literals
import unittest
from rich._lru_cache import LRUCache

View File

@ -1,6 +1,5 @@
import io
from rich.console import Console
from rich.measure import Measurement
from rich.panel import Panel
import pytest

View File

@ -5,7 +5,6 @@ import io
import pytest
from rich import box, errors
from rich.align import VerticalAlignMethod
from rich.console import Console
from rich.measure import Measurement
from rich.style import Style

View File

@ -1,4 +1,3 @@
from unicodedata import normalize
try:
import emoji