Skip to content

Commit 170bf4b

Browse files
committed
update type-hints
1 parent dd08b89 commit 170bf4b

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

template/_commands/tests/test_main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
from __future__ import annotations
2+
13
from click.testing import CliRunner
24

35
from ..main import run
46

57

6-
def test_main():
8+
def test_main() -> None:
79
"""Test the main package entry-point."""
810
runner = CliRunner()
911
result = runner.invoke(run, ["--help"])

template/_commands/tests/test_sys_info.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
import pytest
24
from click.testing import CliRunner
35

0 commit comments

Comments
 (0)