From fcfea87f22b569ed837364a2068b65c175783262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20NO=C3=8BL?= Date: Thu, 31 Mar 2022 12:29:38 +0200 Subject: [PATCH] trivial: bump black version to 22.3.0 --- .pre-commit-config.yaml | 2 +- src/inkscape_wrapper.py | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 211097d4..4c538002 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ # See https://pre-commit.com/hooks.html for more hooks repos: - repo: https://github.com/psf/black - rev: 22.1.0 + rev: 22.3.0 hooks: - id: black args: ['--target-version', 'py37', '--skip-string-normalization', '--line-length', '110'] diff --git a/src/inkscape_wrapper.py b/src/inkscape_wrapper.py index 7ed308a0..199692f8 100755 --- a/src/inkscape_wrapper.py +++ b/src/inkscape_wrapper.py @@ -16,10 +16,7 @@ if b'Inkscape 0' not in inkscape_version: ] inkscape = subprocess.Popen( - ['inkscape'] + args, - stdout=subprocess.PIPE, - stderr=subprocess.STDOUT, - universal_newlines=True + ['inkscape'] + args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True ) for line in inkscape.stdout: