diff --git a/bricktracker/migrations/0007.py b/bricktracker/migrations/0007.py index fb5b723..7cf3c9e 100644 --- a/bricktracker/migrations/0007.py +++ b/bricktracker/migrations/0007.py @@ -5,7 +5,7 @@ if TYPE_CHECKING: # Grab the list of checkboxes to create a list of SQL columns -def migration_0007(self: 'BrickSQL') -> dict[str, Any]: +def migration_0007(self: 'BrickSQL', /) -> dict[str, Any]: records = self.fetchall('checkbox/list') return { diff --git a/bricktracker/part.py b/bricktracker/part.py index ac85a11..58f6510 100644 --- a/bricktracker/part.py +++ b/bricktracker/part.py @@ -74,7 +74,7 @@ class BrickPart(RebrickablePart): return True # A identifier for HTML component - def html_id(self) -> str: + def html_id(self, /) -> str: components: list[str] = ['part'] if self.fields.figure is not None: