fixed formatting with black
This commit is contained in:
parent
757fe3328c
commit
709d90809c
|
@ -1,10 +1,13 @@
|
||||||
name: Lint
|
name: Lint (Black code style)
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
black-code-style:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: psf/black@stable
|
- uses: psf/black@stable
|
||||||
|
with:
|
||||||
|
version: "23.3.0"
|
||||||
|
|
||||||
|
|
|
@ -592,7 +592,6 @@ class Escpos(object):
|
||||||
text_distance=1,
|
text_distance=1,
|
||||||
center=True,
|
center=True,
|
||||||
):
|
):
|
||||||
|
|
||||||
image_writer = ImageWriter()
|
image_writer = ImageWriter()
|
||||||
|
|
||||||
# Check if barcode type exists
|
# Check if barcode type exists
|
||||||
|
|
|
@ -255,7 +255,6 @@ def test_align_right():
|
||||||
|
|
||||||
|
|
||||||
def test_densities():
|
def test_densities():
|
||||||
|
|
||||||
for density in range(8):
|
for density in range(8):
|
||||||
instance = printer.Dummy()
|
instance = printer.Dummy()
|
||||||
instance.set(density=density)
|
instance.set(density=density)
|
||||||
|
|
Loading…
Reference in New Issue