Skip to content

Commit 227ce51

Browse files
authored
Fix: correct type annotation for cover flag in cre.py (#671)
fix: correct type annotation for cover flag in cre.py
1 parent 4b8e8ae commit 227ce51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cre.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"--cover/--no-cover", default=False, help="Run tests under code coverage."
2323
) # type: ignore
2424
@click.argument("test_names", nargs=-1) # type: ignore
25-
def test(cover: coverage.Coverage, test_names: List[str]) -> None:
25+
def test(cover: bool, test_names: List[str]) -> None:
2626
COV = None
2727
if cover or os.environ.get("FLASK_COVERAGE"):
2828
COV = coverage.coverage(

0 commit comments

Comments
 (0)