Skip to content

Commit cca3f85

Browse files
committed
fix: Added missing type annotations
1 parent 660255f commit cca3f85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/cleo/io/output_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def __init__(self, output: Output):
2727
super().__init__()
2828
self.output = output
2929

30-
def emit(self, record: logging.LogRecord):
30+
def emit(self, record: logging.LogRecord) -> None:
3131
"""
3232
Emit a record.
3333

tests/fixtures/foo4_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from cleo.commands.command import Command
88

99

10-
def log_stuff():
10+
def log_stuff() -> None:
1111
logging.debug("This is an debug log record")
1212
logging.info("This is an info log record")
1313
logging.warning("This is an warning log record")

0 commit comments

Comments
 (0)