Skip to content

Conversation

fynnwilliam
Copy link
Contributor

Resolves type checking error when running github actions

cutekit/builder.py:709: error: Dict entry 0 has incompatible type "str": "bool"; expected "str": "str" [dict-item]

Data type for props was updated in commite9d1428 hence a need for this change

@sleepy-monax sleepy-monax requested a review from Copilot July 19, 2025 13:45
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a type checking error in the builder module by updating the data type of a dictionary value from boolean to string. The change addresses a mypy error that occurred after the props attribute type was updated in a previous commit to expect string values instead of mixed types.

  • Updates the debug property value from boolean True to string "true" to match expected type

@fynnwilliam
Copy link
Contributor Author

@sleepy-monax if I may, do you expect True or true?

Helps resolve linting errors when running github actions
@fynnwilliam
Copy link
Contributor Author

hey @sleepy-monax, you wanna take a look here please?

the literal is a substring of resolved.reason
the literal is a substring in the reason
@sleepy-monax
Copy link
Member

@fynnwilliam thanks for all the fixes, I'll merged:)

@sleepy-monax sleepy-monax merged commit fa51483 into cute-engineering:stable Jul 20, 2025
1 check passed
@fynnwilliam
Copy link
Contributor Author

you are welcome @sleepy-monax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants