mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-24 23:09:53 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
1daa25c2ac
commit
8d778c0b7c
|
@ -105,11 +105,13 @@ def remove_vendors_js():
|
||||||
if vendors_js_path.exists():
|
if vendors_js_path.exists():
|
||||||
vendors_js_path.unlink()
|
vendors_js_path.unlink()
|
||||||
|
|
||||||
|
|
||||||
def remove_project_css():
|
def remove_project_css():
|
||||||
project_css_path = Path("{{ cookiecutter.project_slug }}", "static", "css", "project.css")
|
project_css_path = Path("{{ cookiecutter.project_slug }}", "static", "css", "project.css")
|
||||||
if project_css_path.exists():
|
if project_css_path.exists():
|
||||||
project_css_path.unlink()
|
project_css_path.unlink()
|
||||||
|
|
||||||
|
|
||||||
def remove_packagejson_file():
|
def remove_packagejson_file():
|
||||||
file_names = ["package.json"]
|
file_names = ["package.json"]
|
||||||
for file_name in file_names:
|
for file_name in file_names:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user