tools/metrics/structured/sync/model_util.py:55: error: Argument 2 to "fullmatch" has incompatible type "str | None"; expected "str" [arg-type] tools/metrics/structured/sync/model_util.py:84: error: Item "None" of "str | None" has no attribute "strip" [union-attr] tools/metrics/structured/sync/model_util.py:91: error: Incompatible default for argument "regex" (default has type "None", argument has type "str") [assignment] tools/metrics/structured/sync/model_util.py:91: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True tools/metrics/structured/sync/model_util.py:91: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase tools/metrics/structured/sync/model_util.py:110: error: Incompatible return value type (got "None", expected "str") [return-value] tools/metrics/structured/sync/model_util.py:122: error: Incompatible default for argument "regex" (default has type "None", argument has type "str") [assignment] tools/metrics/structured/sync/model_util.py:122: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True tools/metrics/structured/sync/model_util.py:122: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase tools/metrics/structured/sync/model_util.py:141: error: Incompatible return value type (got "None", expected "list[str]") [return-value] tools/metrics/structured/sync/model_util.py:242: error: Argument 2 to "fullmatch" has incompatible type "str | None"; expected "str" [arg-type] tools/metrics/structured/sync/model_util.py:362: error: Argument 2 to "check_names_unique" has incompatible type "list[str | None]"; expected "list[str]" [arg-type] tools/metrics/structured/sync/model.py:110: error: Argument 2 to "match" has incompatible type "str | None"; expected "str" [arg-type] tools/metrics/structured/sync/model.py:162: error: Incompatible types in assignment (expression has type "str | None", variable has type "int") [assignment] tools/metrics/structured/sync/model.py:179: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment] tools/metrics/structured/sync/model.py:348: error: Argument 1 to "has_enum" of "Project" has incompatible type "str | None"; expected "str" [arg-type] tools/metrics/structured/sync/model.py:357: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc" [arg-type] tools/metrics/structured/sync/model.py:369: error: Unsupported right operand type for in ("str | None") [operator] tools/metrics/actions/extract_actions_test.py:10: error: Skipping analyzing "parameterized": module is installed, but missing library stubs or py.typed marker [import-untyped] tools/metrics/actions/extract_actions_test.py:10: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports