Skip to content

Commit

Permalink
ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan committed Jan 25, 2024
1 parent 632595e commit 0af060d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
- uses: actions/setup-python@v2
- run: pip install ruff
- run: |
ruff check .
ruff fix .
ruff format .
- uses: stefanzweifel/git-auto-commit-action@v4
Expand Down
6 changes: 1 addition & 5 deletions app/api/fastapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,6 @@ async def startup_event():

app.include_router(api_v1)
app.mount("/api", api_v1)
import os
print(os.getcwd())
print(os.listdir("../"))
# print(os.listdir(""))
# print(os.listdir("./frontend/factory/dist"))


app.mount("/", StaticFiles(directory="../frontend/factory/dist", html=True), name="static")

0 comments on commit 0af060d

Please sign in to comment.