mypy: add None return types to functions that don't return a value
This commit is contained in:
@@ -17,7 +17,7 @@ from cxxheaderparser.simple import (
|
||||
)
|
||||
|
||||
|
||||
def test_union_basic():
|
||||
def test_union_basic() -> None:
|
||||
content = """
|
||||
|
||||
struct HAL_Value {
|
||||
@@ -86,7 +86,7 @@ def test_union_basic():
|
||||
)
|
||||
|
||||
|
||||
def test_union_anon_in_struct():
|
||||
def test_union_anon_in_struct() -> None:
|
||||
content = """
|
||||
struct Outer {
|
||||
union {
|
||||
|
||||
Reference in New Issue
Block a user