Skip to content

Commit b8a3928

Browse files
committed
Change double quotes to single quotes in the __repr__ method
1 parent 9e6d74e commit b8a3928

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tinydb/database.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def __init__(self, *args, **kwargs) -> None:
8989
Create a new instance of TinyDB.
9090
"""
9191

92-
storage = kwargs.pop("storage", self.default_storage_class)
92+
storage = kwargs.pop('storage', self.default_storage_class)
9393

9494
# Prepare the storage
9595
self._storage: Storage = storage(*args, **kwargs)
@@ -100,13 +100,13 @@ def __init__(self, *args, **kwargs) -> None:
100100
def __repr__(self):
101101

102102
args = [
103-
f"tables={list(self.tables())}",
104-
f"tables_count={len(self.tables())}",
105-
f"default_table_documents_count={self.__len__()}",
103+
f'tables={list(self.tables())}',
104+
f'tables_count={len(self.tables())}',
105+
f'default_table_documents_count={self.__len__()}',
106106
f'all_tables_documents_count={[f"{table}={len(self.table(table))}" for table in self.tables()]}',
107107
]
108108

109-
return "<{} {}>".format(type(self).__name__, ", ".join(args))
109+
return '<{} {}>'.format(type(self).__name__, ', '.join(args))
110110

111111
def table(self, name: str, **kwargs) -> Table:
112112
"""

0 commit comments

Comments
 (0)