update format to fstring
This commit is contained in:
@@ -70,7 +70,7 @@ class AbstractHID:
|
||||
self.post_init()
|
||||
|
||||
def __repr__(self):
|
||||
return '{}(REPORT_BYTES={})'.format(self.__class__.__name__, self.REPORT_BYTES)
|
||||
return f'{self.__class__.__name__}(REPORT_BYTES={self.REPORT_BYTES})'
|
||||
|
||||
def post_init(self):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user