Skip to content

Commit f3f8eb6

Browse files
author
Hugo
authored
Merge pull request pimutils#976 from pimutils/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 06f8001 + b18e1c7 commit f3f8eb6

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v4.1.0
3+
rev: v4.2.0
44
hooks:
55
- id: trailing-whitespace
66
args: [--markdown-linebreak-ext=md]
@@ -23,7 +23,7 @@ repos:
2323
- id: isort
2424
name: isort (python)
2525
- repo: https://github.com/asottile/pyupgrade
26-
rev: v2.31.1
26+
rev: v2.32.0
2727
hooks:
2828
- id: pyupgrade
2929
args: [--py37-plus]

vdirsyncer/cli/fetchparams.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,7 @@ def _strategy_command(*command: str, shell: bool = False):
8282
expanded_command = list(map(expand_path, command))
8383

8484
try:
85-
stdout = subprocess.check_output(
86-
expanded_command, universal_newlines=True, shell=shell
87-
)
85+
stdout = subprocess.check_output(expanded_command, text=True, shell=shell)
8886
return stdout.strip("\n")
8987
except OSError as e:
9088
cmd = " ".join(expanded_command)

0 commit comments

Comments
 (0)