Skip to content

Commit 053cce9

Browse files
Update versions (#407)
* Update versions * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 319c58b commit 053cce9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# See https://pre-commit.com/hooks.html for more hooks
33
repos:
44
- repo: https://github.com/pre-commit/pre-commit-hooks
5-
rev: v4.3.0
5+
rev: v6.0.0
66
hooks:
77
- id: trailing-whitespace
88
- repo: https://github.com/asottile/pyupgrade
9-
rev: v2.37.3
9+
rev: v3.20.0
1010
hooks:
1111
- id: pyupgrade

src/svglib/svglib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def parseMultiAttributes(self, line):
175175
new_attrs = {}
176176
for a in attrs:
177177
k, v = a.split(':')
178-
k, v = [s.strip() for s in (k, v)]
178+
k, v = (s.strip() for s in (k, v))
179179
new_attrs[k] = v
180180

181181
return new_attrs

0 commit comments

Comments
 (0)