mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
Fix new mypy errors
This commit is contained in:
parent
bc15ac9efb
commit
86b07ef0ae
2 changed files with 2 additions and 2 deletions
|
@ -141,7 +141,7 @@ class CompilerBugError(Exception):
|
|||
""" Emitted on assertion errors """
|
||||
|
||||
|
||||
def assert_true(truth: bool, message:str=None):
|
||||
def assert_true(truth: bool, message: T.Optional[str]=None):
|
||||
if not truth:
|
||||
raise CompilerBugError(message)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue