Using standard multiline code formatting

This commit is contained in:
SimpleArt
2020-12-02 18:06:31 -05:00
parent bfe4699513
commit 88624345d0

View File

@ -224,6 +224,7 @@ class SQL_Database:
cur.execute(query)
return cur.fetchone()
def remove_database(self):
"""Remove the current database file using the database_name attribute."""
os.remove(self._database_name)
@ -235,11 +236,16 @@ class SQL_Database:
query_data = self.query_all(f"SELECT id,chromosome_length,population_size,generation_goal FROM config;")
print(
tabulate(query_data, headers=['id',
'chromosome_length',
'population_size',
'generation_goal'])
tabulate(
query_data,
headers = [
'id',
'chromosome_length',
'population_size',
'generation_goal'
]
)
)
def get_most_recent_config_id(self):