From 2f897b7307cf2c74d03d3f50777e9e5c6b8c4cb7 Mon Sep 17 00:00:00 2001 From: KevenDuverglas Date: Mon, 4 Dec 2023 10:23:50 -0500 Subject: [PATCH] passing build --- cellveyor/data.py | 3 ++- cellveyor/filesystem.py | 3 ++- cellveyor/main.py | 8 ++++++-- cellveyor/report.py | 3 ++- cellveyor/transfer.py | 18 +++++++++--------- tests/test_data.py | 5 +++-- tests/test_filesystem.py | 3 ++- 7 files changed, 26 insertions(+), 17 deletions(-) diff --git a/cellveyor/data.py b/cellveyor/data.py index 12090cf..752bad1 100644 --- a/cellveyor/data.py +++ b/cellveyor/data.py @@ -1,7 +1,8 @@ """Access and manipulate data.""" from pathlib import Path -from typing import Dict, Tuple +from typing import Dict +from typing import Tuple import pandas diff --git a/cellveyor/filesystem.py b/cellveyor/filesystem.py index a0c0b2d..609520a 100644 --- a/cellveyor/filesystem.py +++ b/cellveyor/filesystem.py @@ -1,7 +1,8 @@ """Check and access contents of the filesystem.""" from pathlib import Path -from typing import Dict, List +from typing import Dict +from typing import List import yaml diff --git a/cellveyor/main.py b/cellveyor/main.py index 4c5d841..8444f23 100644 --- a/cellveyor/main.py +++ b/cellveyor/main.py @@ -1,14 +1,18 @@ """🚚 Cellveyor is a conveyor for the cells in spreadsheets.""" from pathlib import Path -from typing import Dict, List +from typing import Dict +from typing import List import typer from rich.console import Console from rich.markdown import Markdown from rich.panel import Panel -from cellveyor import data, filesystem, report, transfer +from cellveyor import data +from cellveyor import filesystem +from cellveyor import report +from cellveyor import transfer # create a Typer object to support the command-line interface cli = typer.Typer(no_args_is_help=True) diff --git a/cellveyor/report.py b/cellveyor/report.py index 070ce91..8ba3f9c 100644 --- a/cellveyor/report.py +++ b/cellveyor/report.py @@ -1,6 +1,7 @@ """Create reports based on content in dataframes.""" -from typing import Dict, List +from typing import Dict +from typing import List from pandas import DataFrame diff --git a/cellveyor/transfer.py b/cellveyor/transfer.py index 2653274..f05fb09 100644 --- a/cellveyor/transfer.py +++ b/cellveyor/transfer.py @@ -2,15 +2,15 @@ from typing import Dict -from github import Auth, Github, GithubException -from rich.progress import ( - BarColumn, - MofNCompleteColumn, - Progress, - TextColumn, - TimeElapsedColumn, - TimeRemainingColumn, -) +from github import Auth +from github import Github +from github import GithubException +from rich.progress import BarColumn +from rich.progress import MofNCompleteColumn +from rich.progress import Progress +from rich.progress import TextColumn +from rich.progress import TimeElapsedColumn +from rich.progress import TimeRemainingColumn # the checkmark that appears in the progress bar diagnostic # output when a transfer to GitHub works correctly diff --git a/tests/test_data.py b/tests/test_data.py index 356ce42..dfe1c0d 100644 --- a/tests/test_data.py +++ b/tests/test_data.py @@ -1,10 +1,11 @@ """Pytest test suite for the filesystem module.""" -import pytest +from pathlib import Path import pandas as pd +import pytest + from cellveyor import data -from pathlib import Path def test_access_dataframes() -> None: diff --git a/tests/test_filesystem.py b/tests/test_filesystem.py index 391fec6..0a32108 100644 --- a/tests/test_filesystem.py +++ b/tests/test_filesystem.py @@ -3,7 +3,8 @@ import pathlib import pytest -from hypothesis import given, strategies +from hypothesis import given +from hypothesis import strategies from cellveyor import filesystem