[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-03-07 23:50:24 +00:00
parent 0819f6e266
commit a9edcf4bcf

View File

@ -61,7 +61,7 @@ def remove_docker_files():
file_names = ["local.yml", "production.yml", ".dockerignore"] file_names = ["local.yml", "production.yml", ".dockerignore"]
else: else:
file_names = ["production.yml"] file_names = ["production.yml"]
for file_name in file_names: for file_name in file_names:
os.remove(file_name) os.remove(file_name)
@ -81,9 +81,9 @@ def create_vscode_devcontainer_bash_history_file():
history_dir_path = ".history" history_dir_path = ".history"
if not os.path.exists(history_dir_path): if not os.path.exists(history_dir_path):
os.mkdir(history_dir_path) os.mkdir(history_dir_path)
history_file_path = ".history/bash_history" history_file_path = ".history/bash_history"
with open(history_file_path, 'a'): with open(history_file_path, "a"):
pass pass
@ -494,7 +494,8 @@ def main():
print( print(
INFO + ".env(s) are only utilized when Docker Compose and/or " INFO + ".env(s) are only utilized when Docker Compose and/or "
"Heroku and/or VS Code Dev Container support is enabled so " "Heroku and/or VS Code Dev Container support is enabled so "
"keeping them does not make sense given your current setup." + TERMINATOR "keeping them does not make sense given your current setup."
+ TERMINATOR
) )
remove_envs_and_associated_files() remove_envs_and_associated_files()
else: else: