diff --git a/odoo_scripts/docker_dev_start.py b/odoo_scripts/docker_dev_start.py index bcf3b4056d190a1ee51a4ec4839df15992a02e3c_b2Rvb19zY3JpcHRzL2RvY2tlcl9kZXZfc3RhcnQucHk=..2ff8bd7b8e1f91970214d652ff1bfe5eb52308a3_b2Rvb19zY3JpcHRzL2RvY2tlcl9kZXZfc3RhcnQucHk= 100755 --- a/odoo_scripts/docker_dev_start.py +++ b/odoo_scripts/docker_dev_start.py @@ -923,8 +923,7 @@ connection.autocommit = True _logger.info("Creating database %s", database) with connection.cursor() as cursor: - # disable B028 as using !r would use single quote - cursor.execute(f'CREATE DATABASE "{database}"') # noqa: B028 + cursor.execute(f'CREATE DATABASE "{database}"') connection.close() if not start_postgresql and not odoo_help and restore_filename: _logger.info("Restoring database %s", database) @@ -1037,8 +1036,7 @@ _logger.debug("Database role exists") try: _logger.info("Creating database %s", redner_database) - # disable B028 as using !r would use single quote - cursor.execute(f'CREATE DATABASE "{redner_database}"') # noqa: B028 + cursor.execute(f'CREATE DATABASE "{redner_database}"') _logger.info("Database created") except DuplicateDatabase: # ignore exception if the database already exists