fix linting errors

This commit is contained in:
Suhas 2021-02-04 09:12:40 -05:00
parent ca45c7634c
commit b8daeec6b9
4 changed files with 3 additions and 5 deletions

View file

@ -15,7 +15,7 @@ from behave import when
import keyring
import toml
import yaml
from yaml.loader import FullLoader, Loader
import jrnl.time
from jrnl import Journal

View file

@ -1,7 +1,7 @@
# Copyright (C) 2012-2021 jrnl contributors
# License: https://www.gnu.org/licenses/gpl-3.0.html
from jrnl import color
import json
import os
import shutil
@ -14,7 +14,7 @@ from behave import then
import colorama
def style_text(to_bold: bool, text_color: colorama.Fore, text_to_print: str):
def style_text(to_bold: bool, text_color: Fore, text_to_print: str):
"""Generate colorized and styled text for expected output. Its purpose is the same as Entry.colorize
:param to_bold: Flag whether the text should be bolded

View file

@ -7,7 +7,6 @@ from datetime import datetime
import re
import ansiwrap
import colorama
from .color import colorize
from .color import highlight_tags_with_background_color

View file

@ -1,4 +1,3 @@
import colorama
import pytest
from jrnl.color import colorize