FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

use dashes instead of underscores by lev-blit · Pull Request #15614 · python/typeshed · GitHub

use dashes instead of underscores - #15614

Merged
srittau merged 4 commits into
python:mainfrom
lev-blit:use-dashes-instead-of-underscores
Apr 7, 2026
Merged

use dashes instead of underscores#15614
srittau merged 4 commits into
python:mainfrom
lev-blit:use-dashes-instead-of-underscores

Conversation

lev-blit commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

resolves #15550

github-actions Bot commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

pandas (https://github.com/pandas-dev/pandas)
- pandas/core/computation/ops.py:328: error: Need type annotation for "_binary_ops_dict" (hint: "_binary_ops_dict: dict[<type>, <type>] = ...")  [var-annotated]

lev-blit commented Apr 5, 2026

Copy link
Copy Markdown
Contributor Author

I think the tests got stuck...

lev-blit marked this pull request as ready for review April 5, 2026 14:05

Copy link
Copy Markdown
Collaborator

Did two sanity checks:

  • ls -l stubs | wc -l reports that there's 198 stub packages. That, plus the 6 non-METADATA.toml files that were modified, equals the 204 modified files in this PR. So, every METADATA.toml file was touched.
  • grep -R --include='METADATA.toml' _ stubs doesn't turn up any missed keys with underscores.

srittau left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks! I think this consistency with pyproject.toml is helpful.

srittau merged commit 5632132 into python:main Apr 7, 2026
59 checks passed
lev-blit deleted the use-dashes-instead-of-underscores branch April 7, 2026 16:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

Rename requires to dependencies in METADATA.toml

3 participants


Back | FazBrowse Home | New Git URL