[pre-commit.ci] pre-commit autoupdate#2045
Closed
pre-commit-ci[bot] wants to merge 2 commits intomasterfrom
Closed
[pre-commit.ci] pre-commit autoupdate#2045pre-commit-ci[bot] wants to merge 2 commits intomasterfrom
pre-commit-ci[bot] wants to merge 2 commits intomasterfrom
Conversation
asottile
reviewed
Sep 13, 2021
Comment on lines
-6
to
-14
|
|
||
| from shutil import which | ||
| # we try our best, but the shebang of this script is difficult to determine: | ||
| # - macos doesn't ship with python3 | ||
| # - windows executables are almost always `python.exe` | ||
| # therefore we continue to support python2 for this small script | ||
| if sys.version_info < (3, 3): | ||
| from distutils.spawn import find_executable as which | ||
| else: | ||
| from shutil import which |
Member
There was a problem hiding this comment.
hmm -- will need to make a conscious decision as to whether to drop this or not 🤔
updates: - [github.com/asottile/pyupgrade: v2.25.0 → v2.28.0](asottile/pyupgrade@v2.25.0...v2.28.0)
8962330 to
02169ee
Compare
for more information, see https://pre-commit.ci
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
updates: