Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ANN204 (missing return type for special methods) autofixes #4736

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Avasam
Copy link
Contributor

@Avasam Avasam commented Nov 6, 2024

Summary of changes

This will reduce changes from adding return types from typeshed
I commented out ignore-fully-untyped in ruff.toml then ran ruff check --fix --unsafe-fixes --extend-exclude=setuptools/tests --select=ANN204.
Then I removed 3 added return types that were revealing hidden mypy issues to keep the changes here completely automated.

Pull Request Checklist

  • Changes have tests (this cuases more code to be statically checked by mypy)
  • News fragment added in newsfragments/. (no public facing changes)
    (See documentation for details)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant