Skip to content

Remove unneeded bind accelerator parameter

Because this is an method on the instance of the unlocked_database instance so passing it in as a parameter of this funtion is redundant. Found by looking at why pylint complained about no usage of "self." in an instance method. Adapt all 3 users of this function and it makes us hand around less stuff.

The pylint score is somewhat decreased because UnlockedDatabase.init() is now annotated and pylint can perform more checks.

Merge request reports