Skip to content

Commit 926f12d

Browse files
author
Hugo
authored
Merge pull request #149 from WhyNotHugo/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents c668ae4 + 08b8f76 commit 926f12d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repos:
1111
hooks:
1212
- id: isort
1313
- repo: https://github.com/psf/black
14-
rev: "22.1.0"
14+
rev: "22.3.0"
1515
hooks:
1616
- id: black
1717
- repo: https://github.com/PyCQA/flake8

barcode/writer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ def render(self, code):
283283
ypos += pt2mm(self.font_size)
284284

285285
blocks = self.text
286-
for (text, xpos) in zip(blocks, text["xpos"]):
287-
self.text = text
286+
for (text_, xpos) in zip(blocks, text["xpos"]):
287+
self.text = text_
288288
self._callbacks["paint_text"](xpos, ypos)
289289

290290
return self._callbacks["finish"]()

0 commit comments

Comments
 (0)