Skip to content

Commit

Permalink
Fixed some formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Poiuy7312 committed Sep 15, 2023
1 parent 751799b commit 274123c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion chasten/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def executable_name(OpSystem: str = "Linux") -> str:
return virtual_env_location + exe_directory + executable_name


def start_datasette_server( # noqa: PLR0912
def start_datasette_server( # noqa: PLR0912, PLR0913
database_path: Path,
datasette_metadata: Path,
datasette_platform: str = enumerations.DatasettePublicationPlatform.FLY.value,
Expand Down
2 changes: 1 addition & 1 deletion chasten/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ def datasette_serve( # noqa: PLR0913
datasette_port=port,
datasette_metadata=metadata,
publish=False,
OpSystem = util.get_OS()
OpSystem=util.get_OS(),
)


Expand Down
2 changes: 1 addition & 1 deletion chasten/util.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
"""Utilities for use within chasten."""

import importlib.metadata

import platform

from chasten import constants
Expand All @@ -19,6 +18,7 @@ def get_human_readable_boolean(answer: bool) -> str:
# the provided answer is false
return constants.humanreadable.No


def get_OS() -> str:
"""Gets the Operating system of the user."""
OpSystem = platform.system()
Expand Down
6 changes: 1 addition & 5 deletions tests/test_database.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@

import pytest

from chasten import database

from chasten import util

from chasten import filesystem
from chasten import database, filesystem, util


@pytest.mark.fuzz
Expand Down

0 comments on commit 274123c

Please sign in to comment.