mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 00:04:42 +04:00
Run pre-commit autoupdate
Committed via https://github.com/asottile/all-repos
This commit is contained in:
parent
06d01c8c9d
commit
dc28922ccb
11 changed files with 125 additions and 101 deletions
|
|
@ -53,9 +53,7 @@ def shebang():
|
|||
# Homebrew/homebrew-core#35825: be more timid about appropriate `PATH`
|
||||
path_choices = [p for p in os.defpath.split(os.pathsep) if p]
|
||||
exe_choices = [
|
||||
'python{}'.format('.'.join(
|
||||
str(v) for v in sys.version_info[:i]
|
||||
))
|
||||
'python{}'.format('.'.join(str(v) for v in sys.version_info[:i]))
|
||||
for i in range(3)
|
||||
]
|
||||
for path, exe in itertools.product(path_choices, exe_choices):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue