From 6218ced5a81bd9dbc4098f35d32e3657fdce58fa Mon Sep 17 00:00:00 2001 From: Neea Date: Sun, 22 Sep 2024 23:35:13 -0400 Subject: [PATCH] rm .coverage, update mkdocs, add type hint --- Makefile | 1 + pymwp/result.py | 2 +- requirements-doc.txt | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3f672e1..d4ff970 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,7 @@ clean: @rm -fr .pytest_cache/ @rm -fr .eggs/ @rm -fr coverage.xml + @rm -fr .coverage @find . -name '*.egg-info' -exec rm -fr {} + @find . -name '*.egg' -exec rm -f {} + @find . -name '*.pyc' -exec rm -f {} + diff --git a/pymwp/result.py b/pymwp/result.py index be87d6e..feb3a37 100644 --- a/pymwp/result.py +++ b/pymwp/result.py @@ -557,7 +557,7 @@ def add_loop(self, result: FuncLoops) -> None: Result.pretty_print(str(result)) @staticmethod - def pretty_print(txt: str, line_w: int = 50, hb='─') -> str: + def pretty_print(txt: str, line_w: int = 50, hb: str = '─') -> str: """Draws a colored box around text before display. Arguments: diff --git a/requirements-doc.txt b/requirements-doc.txt index 05df47d..90d8fc9 100644 --- a/requirements-doc.txt +++ b/requirements-doc.txt @@ -2,7 +2,7 @@ # the deps needed to build docs -mkdocs-material==9.5.34 +mkdocs-material==9.5.36 mkdocstrings-python==1.11.1 mkdocs-include-markdown-plugin==6.2.2 black