Verified Commit d899b977 authored by Jakob Moser's avatar Jakob Moser
Browse files

Lint

parent 301a2d4a
Loading
Loading
Loading
Loading
+3 −1
Changes for docs/musings/display.md: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -12,7 +12,9 @@ os.environ["SDL_FBDEV"] = "/dev/fb0"
os.environ["SDL_VIDEODRIVER"] = "directfb"

screen = pygame.display.set_mode()
print(screen)  # This does not show the dimensions of my small extra screen. Feels like it writes to HDMI.
print(
    screen
)  # This does not show the dimensions of my small extra screen. Feels like it writes to HDMI.
```

Which is sad, because I think it should work.
+2 −2
Changes for poolpay/model/Transaction.py: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ from uuid import UUID

import mt940
from sqlalchemy import and_, select
from sqlalchemy.orm import Mapped, mapped_column, relationship, MappedColumn
from sqlalchemy.orm import Mapped, MappedColumn, mapped_column, relationship
from sqlalchemy.schema import ForeignKey

from poolpay import db
@@ -75,4 +75,4 @@ class Transaction(Base):
        return cls.date

    def __str__(self) -> str:
        return f"{self.date.isoformat()} {self.amount_cents/100:+7.2f} € [{self.posting_text:>11}] \"{self.purpose}\" {self.partner}"
        return f'{self.date.isoformat()} {self.amount_cents / 100:+7.2f} € [{self.posting_text:>11}] "{self.purpose}" {self.partner}'