mypy: add None return types to functions that don't return a value
This commit is contained in:
@@ -16,7 +16,7 @@ from cxxheaderparser.simple import (
|
||||
)
|
||||
|
||||
|
||||
def test_dups_in_different_ns():
|
||||
def test_dups_in_different_ns() -> None:
|
||||
content = """
|
||||
|
||||
namespace {
|
||||
@@ -58,7 +58,7 @@ def test_dups_in_different_ns():
|
||||
)
|
||||
|
||||
|
||||
def test_correct_ns():
|
||||
def test_correct_ns() -> None:
|
||||
content = """
|
||||
namespace a::b::c {
|
||||
int i1;
|
||||
|
||||
Reference in New Issue
Block a user