Cleanup: correct type hints for Python scripts

This commit is contained in:
Campbell Barton
2024-02-28 11:02:53 +11:00
parent 79cf4e58e4
commit 44e64b8f29
4 changed files with 26 additions and 16 deletions

View File

@@ -1466,7 +1466,7 @@ class edit_generators:
is_default = False
@staticmethod
def _header_exclude(f_basename: str) -> str:
def _header_exclude(f_basename: str) -> bool:
# This header only exists to add additional warnings, removing it doesn't impact generated output.
# Skip this file.
if f_basename == "BLI_strict_flags.h":