Skip to content

Simplify Solution to --python command-line flag precedence#2826

Merged
gaborbernat merged 1 commit intomainfrom
unknown repository
Jan 17, 2025
Merged

Simplify Solution to --python command-line flag precedence#2826
gaborbernat merged 1 commit intomainfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Jan 16, 2025

Update virtualenv/discovery/builtin.py

Simplify solution by operating on the sequence directly without creating a deque.

TODO

  • ran the linter to address style issues (tox -e fix)
  • wrote descriptive pull request text
  • ensured there are test(s) validating the fix
  • added news fragment in docs/changelog folder
  • updated/extended the documentation

* Update virtualenv/discovery/builtin.py - simplify solution by operating on the sequence directly without creating a deque
@ghost
Copy link
Author

ghost commented Jan 16, 2025

I noticed this commit in the most recent release of virtualenv.

Reviewing the commit, I thought I could quickly simplify it.

@ghost ghost marked this pull request as ready for review January 17, 2025 15:43
@gaborbernat gaborbernat merged commit 56ef466 into pypa:main Jan 17, 2025
38 checks passed
@ghost ghost deleted the cli-precedence-2285 branch January 24, 2025 15:42
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