fixed formatting with black

This commit is contained in:
Patrick Kanzler 2023-04-19 22:23:23 +02:00
parent 757fe3328c
commit 709d90809c
3 changed files with 5 additions and 4 deletions

View File

@ -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"

View File

@ -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

View File

@ -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)