build(ruff): update ruff configuration

This commit is contained in:
Nathaniel Landau
2023-01-28 22:08:42 +00:00
parent 42dd73b038
commit ac0090c6c9
2 changed files with 3 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ def remove_markdown_sections(
strip_inlinecode: bool = False,
strip_frontmatter: bool = False,
) -> str:
"""Strips markdown sections from text.
"""Strip markdown sections from text.
Args:
text (str): Text to remove code blocks from
@@ -121,7 +121,7 @@ def clean_dictionary(dictionary: dict[str, Any]) -> dict[str, Any]:
def clear_screen() -> None: # pragma: no cover
"""Clears the screen."""
"""Clear the screen."""
# for windows
_ = system("cls") if name == "nt" else system("clear")
@@ -129,7 +129,7 @@ def clear_screen() -> None: # pragma: no cover
def dict_contains(
dictionary: dict[str, list[str]], key: str, value: str = None, is_regex: bool = False
) -> bool:
"""Checks if a dictionary contains a key.
"""Check if a dictionary contains a key.
Args:
dictionary (dict): Dictionary to check