Skip to content
New issue

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

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

Already on GitHub? Sign in 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)

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.

1 participant