Skip to content

Commit

Permalink
fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
davorrunje committed Nov 8, 2024
1 parent 0e7ec32 commit be5cf2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions hooks/post_gen_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,3 @@
shutil.rmtree(p, ignore_errors=True)
else:
os.unlink(p)

# run linter to fix any formatting issues
cmd = "./scripts/lint.sh"
os.system(cmd)
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% if cookiecutter.authentication == "google" %}
{%- if cookiecutter.authentication == "google" -%}
from pathlib import Path

import yaml
{% endif %}
{% endif -%}
from fastagency.adapters.fastapi import FastAPIAdapter
from fastagency.app import FastAgency
from fastagency.ui.mesop import MesopUI{% if cookiecutter.authentication == "google" %}
Expand All @@ -14,7 +14,7 @@
fastapi_url=fastapi_url,
)

{% if cookiecutter.authentication == "google" %}
{%- if cookiecutter.authentication == "google" %}
with Path("firebase_config.yaml").open() as f:
firebase_config = FirebaseConfig(**yaml.safe_load(f))
with Path("allowed_users.yaml").open() as f:
Expand Down

0 comments on commit be5cf2a

Please sign in to comment.