mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 18:18:22 +00:00
Black formatting (#3035)
* fix: minor black formatting * style: update CONTRIBUTORS.md * fix: more black formatting Default black with no arguments provided --------- Co-authored-by: Darren Burns <darrenburns@users.noreply.github.com>
This commit is contained in:
parent
7a168a27c5
commit
0177b03700
31 changed files with 4 additions and 39 deletions
|
@ -150,7 +150,6 @@ def test_spinner_column():
|
|||
|
||||
|
||||
def test_download_progress_uses_decimal_units() -> None:
|
||||
|
||||
column = DownloadColumn()
|
||||
test_task = Task(1, "test", 1000, 500, _get_time=lambda: 1.0)
|
||||
rendered_progress = str(column.render(test_task))
|
||||
|
@ -159,7 +158,6 @@ def test_download_progress_uses_decimal_units() -> None:
|
|||
|
||||
|
||||
def test_download_progress_uses_binary_units() -> None:
|
||||
|
||||
column = DownloadColumn(binary_units=True)
|
||||
test_task = Task(1, "test", 1024, 512, _get_time=lambda: 1.0)
|
||||
rendered_progress = str(column.render(test_task))
|
||||
|
@ -280,7 +278,6 @@ def test_render() -> None:
|
|||
|
||||
|
||||
def test_track() -> None:
|
||||
|
||||
console = Console(
|
||||
file=io.StringIO(),
|
||||
force_terminal=True,
|
||||
|
@ -339,7 +336,6 @@ def test_progress_track() -> None:
|
|||
|
||||
|
||||
def test_columns() -> None:
|
||||
|
||||
console = Console(
|
||||
file=io.StringIO(),
|
||||
force_terminal=True,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue