Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 29, 2024
1 parent 4a50599 commit d5bc13e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sys
from setuptools import setup

with open('requirements.txt', 'r') as f:
with open('requirements.txt') as f:
install_requires = f.read().strip().split()

needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
Expand Down
2 changes: 1 addition & 1 deletion svglib/svglib.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def parseMultiAttributes(self, line):
new_attrs = {}
for a in attrs:
k, v = a.split(':')
k, v = [s.strip() for s in (k, v)]
k, v = (s.strip() for s in (k, v))
new_attrs[k] = v

return new_attrs
Expand Down

0 comments on commit d5bc13e

Please sign in to comment.