Skip to content

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

@lev-blit lev-blit commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

resolves #15550

@github-actions

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

lev-blit commented Apr 5, 2026

Copy link
Copy Markdown
Contributor Author

I think the tests got stuck...

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

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 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.

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

@srittau srittau merged commit 5632132 into python:main Apr 7, 2026
59 checks passed
@lev-blit lev-blit deleted the use-dashes-instead-of-underscores branch April 7, 2026 16:52
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