trivial: bump black version to 22.3.0

This commit is contained in:
Thomas NOËL 2022-03-31 12:29:38 +02:00
parent 1daca6e074
commit fcfea87f22
2 changed files with 2 additions and 5 deletions

View File

@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks # See https://pre-commit.com/hooks.html for more hooks
repos: repos:
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.1.0 rev: 22.3.0
hooks: hooks:
- id: black - id: black
args: ['--target-version', 'py37', '--skip-string-normalization', '--line-length', '110'] args: ['--target-version', 'py37', '--skip-string-normalization', '--line-length', '110']

View File

@ -16,10 +16,7 @@ if b'Inkscape 0' not in inkscape_version:
] ]
inkscape = subprocess.Popen( inkscape = subprocess.Popen(
['inkscape'] + args, ['inkscape'] + args, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT,
universal_newlines=True
) )
for line in inkscape.stdout: for line in inkscape.stdout: