Skip to content

Merge commands overloads from typeshed #5020

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

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

Conversation

Avasam
Copy link
Contributor

@Avasam Avasam commented May 31, 2025

Summary of changes

Merges Command-related overloads from typeshed.

This makes it so that cast is no longer necessary when using those methods.

Only non-deprecated commands that setuptools exposes directly are listed (so nothign that requires importing from distutils directly, and excludes the test command). Private commands are still listed due to setuptools itself using them.

Works towards #2345

Pull Request Checklist

  • Changes have tests (no intended runtime changes, existing runtime and static tests should pass)
  • News fragment added in newsfragments/. (not public facing until py.typed marker is added)
    (See documentation for details)

@Avasam Avasam force-pushed the Merge-commands-overloads-from-typeshed branch from aba5b5f to f15e802 Compare May 31, 2025 22:28
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