Add type annotations

This commit is contained in:
Bruno Oliveira 2020-06-08 22:23:28 -03:00
parent d5a8bf7c6c
commit 357f9b6e83
1 changed files with 2 additions and 2 deletions

View File

@ -367,11 +367,11 @@ class TerminalReporter:
@property
def no_header(self) -> bool:
return self.config.option.no_header
return bool(self.config.option.no_header)
@property
def no_summary(self) -> bool:
return self.config.option.no_summary
return bool(self.config.option.no_summary)
@property
def showfspath(self) -> bool: