Skip to content

Conversation

@Avasam
Copy link
Contributor

@Avasam Avasam commented Oct 28, 2024

Summary of changes

I commented [lint.flake8-annotations] ignore-fully-untyped = true in ruff.toml then ran ruff check pkg_resources --select=ANN2 --fix --unsafe-fixes.
I removed 3 -> None that were revealing hidden mypy issues to keep the changes here completely automated.

Pull Request Checklist

  • Changes have tests (this increased the amount of type-checked code)
  • News fragment added in newsfragments/. (no public facing changes)
    (See documentation for details)

@Avasam Avasam changed the title pkg_resources ANN2 autofixes pkg_resources ANN2 autofixes for fully untyped functions Oct 28, 2024
@abravalheri abravalheri merged commit 6ba12dc into pypa:main Oct 31, 2024
24 checks passed
@abravalheri
Copy link
Contributor

Thank you very much.

@Avasam Avasam deleted the pkg_resources-ANN2-autofixes branch October 31, 2024 13:30
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