Add type annotations
This commit is contained in:
parent
d5a8bf7c6c
commit
357f9b6e83
|
@ -367,11 +367,11 @@ class TerminalReporter:
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def no_header(self) -> bool:
|
def no_header(self) -> bool:
|
||||||
return self.config.option.no_header
|
return bool(self.config.option.no_header)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def no_summary(self) -> bool:
|
def no_summary(self) -> bool:
|
||||||
return self.config.option.no_summary
|
return bool(self.config.option.no_summary)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def showfspath(self) -> bool:
|
def showfspath(self) -> bool:
|
||||||
|
|
Loading…
Reference in New Issue