Skip to content
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

[internal] Rolling out Options v2 for python directory #14369

Merged
merged 2 commits into from
Feb 5, 2022

Conversation

thejcannon
Copy link
Member

No description provided.

).advanced()
indexes = StrListOption(
"--indexes",
default=[pypi_index],
Copy link
Member Author

Choose a reason for hiding this comment

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

This no longer works if this class is subclassed. but I don't think that was the intent...

@thejcannon thejcannon changed the title Rolling out Options v2 for python directory [internal] Rolling out Options v2 for python directory Feb 5, 2022
if python_repos.indexes != [python_repos.pypi_index]:
if python_repos.indexes != (python_repos.pypi_index,):
Copy link
Contributor

Choose a reason for hiding this comment

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

MyPy caught this? Nice.

@Eric-Arellano Eric-Arellano merged commit 7e31f4b into pantsbuild:main Feb 5, 2022
@thejcannon thejcannon deleted the we-have-options/python branch August 17, 2022 18:40
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