Skip to content

Commit 709d908

Browse files
committed
fixed formatting with black
1 parent 757fe33 commit 709d908

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/black.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1-
name: Lint
1+
name: Lint (Black code style)
22

33
on: [push, pull_request]
44

55
jobs:
6-
lint:
6+
black-code-style:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v3
1010
- uses: psf/black@stable
11+
with:
12+
version: "23.3.0"
13+

src/escpos/escpos.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,6 @@ def soft_barcode(
592592
text_distance=1,
593593
center=True,
594594
):
595-
596595
image_writer = ImageWriter()
597596

598597
# Check if barcode type exists

test/test_function_set.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,6 @@ def test_align_right():
255255

256256

257257
def test_densities():
258-
259258
for density in range(8):
260259
instance = printer.Dummy()
261260
instance.set(density=density)

0 commit comments

Comments
 (0)