Skip to content

Conversation

@hanouticelina
Copy link
Contributor

@hanouticelina hanouticelina commented Oct 14, 2025

This PR resolves quality check failures caused by breaking changes introduced in https://github.com/astral-sh/ty/releases/tag/0.0.1-alpha.22

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

possibly-unbound-attribute = "ignore"
unsupported-operator = "ignore"
possibly-missing-attribute = "ignore"
possibly-missing-implicit-call = "ignore"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

i think it's safe to ignore https://docs.astral.sh/ty/reference/rules/#possibly-missing-attribute and https://docs.astral.sh/ty/reference/rules/#possibly-missing-implicit-call they are static analysis warnings that flag potential AttributeErrors if a class or object does not always define a given attribute or method.
they're safe to ignore because the code always defines those attributes or methods when it actually runs, the warning just comes from static analysis not realizing that

@hanouticelina hanouticelina requested a review from Wauplin October 14, 2025 08:53
Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

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

Thanks!

Co-authored-by: Lucain <lucain@huggingface.co>
@hanouticelina hanouticelina merged commit f67fad9 into main Oct 14, 2025
24 of 25 checks passed
@hanouticelina hanouticelina deleted the ty-quality branch October 14, 2025 13:24
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.

4 participants