pypa / twine

Utilities for interacting with PyPI
https://twine.readthedocs.io/
Apache License 2.0
1.59k stars 305 forks source link

upload: prevent --attestations on non-PyPI indices #1099

Closed woodruffw closed 4 months ago

woodruffw commented 4 months ago

This is just a small follow-up on #1098, forbidding --attestations when the user requests an index URL other than PyPI or TestPyPI.

xref #1094