Skip to content

Commit

Permalink
feat(api): use scripts and pre-commit config from root
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Shatford <[email protected]>
  • Loading branch information
jordanshatford committed Oct 21, 2023
1 parent 53120d6 commit 79f8e58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 96 deletions.
37 changes: 0 additions & 37 deletions apps/api/.pre-commit-config.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
".": "./openapi.json"
},
"scripts": {
"dev": "python3 scripts.py dev",
"format": "python3 scripts.py format",
"generate:openapi": "python3 scripts.py generate"
"dev": "UVICORN_HOST=0.0.0.0 UVICORN_PORT=8080 UVICORN_RELOAD=true UVICORN_RELOAD_DIRS=../../ python3 ../../scripts.py run uvicorn app.main:app",
"format": "python3 ../../scripts.py pre-commit run",
"generate:openapi": "python3 ../../scripts.py run python generate_openapi.py"
}
}
56 changes: 0 additions & 56 deletions apps/api/scripts.py

This file was deleted.

1 comment on commit 79f8e58

@vercel
Copy link

@vercel vercel bot commented on 79f8e58 Oct 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.