From 34540b03dea03eb88385e84ce029d14b365f685d Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sat, 9 Sep 2023 05:04:28 +0000 Subject: [PATCH] refactor: put docstring into a single line If a docstring fits in a single line (72 characters according to PEP8), it is recommended to have the quotes on the same line. --- src/biocommons/example/__main__.py | 4 +--- src/biocommons/example/marvin_adjacent_test.py | 3 +-- src/biocommons/example/tests/marvin_subdir_test.py | 3 +-- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/src/biocommons/example/__main__.py b/src/biocommons/example/__main__.py index f2e0505..bf953f8 100644 --- a/src/biocommons/example/__main__.py +++ b/src/biocommons/example/__main__.py @@ -1,6 +1,4 @@ -"""biocommons.example.__main__ - -""" +"""biocommons.example.__main__""" import logging import time diff --git a/src/biocommons/example/marvin_adjacent_test.py b/src/biocommons/example/marvin_adjacent_test.py index 3241729..83e4114 100644 --- a/src/biocommons/example/marvin_adjacent_test.py +++ b/src/biocommons/example/marvin_adjacent_test.py @@ -1,5 +1,4 @@ -"""biocommons.example test, adjacent to code -""" +"""biocommons.example test, adjacent to code""" from .marvin import get_quote diff --git a/src/biocommons/example/tests/marvin_subdir_test.py b/src/biocommons/example/tests/marvin_subdir_test.py index f94aaf6..79c431a 100644 --- a/src/biocommons/example/tests/marvin_subdir_test.py +++ b/src/biocommons/example/tests/marvin_subdir_test.py @@ -1,5 +1,4 @@ -"""biocommons.example test, within tests directory adjacent to source -""" +"""biocommons.example test, within tests directory adjacent to source""" from ..marvin import get_quote