Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ed7b4eb908 | |||
| e62eb19647 |
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: Lint, Test, Tag, Build and Deploy DEV
|
name: Lint, Test, Tag, Build and Deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -25,11 +25,11 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: psf/black@stable
|
- uses: psf/black@stable
|
||||||
with:
|
with:
|
||||||
options: "-l 100 --exclude '/.venv/|alembic/|/__init__.py'"
|
options: "-l 100 --exclude '/.venv/|/__init__.py'"
|
||||||
- uses: creyD/autoflake_action@master
|
- uses: creyD/autoflake_action@master
|
||||||
with:
|
with:
|
||||||
no_commit: True
|
no_commit: True
|
||||||
options: --in-place --remove-all-unused-imports -r --exclude **/__init__.py,**/db/models.py,
|
options: --in-place --remove-all-unused-imports -r --exclude **/__init__.py
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
with:
|
with:
|
||||||
commit_message: Adjusted files for isort & autopep
|
commit_message: Adjusted files for isort & autopep
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
import os
|
import os
|
||||||
from fastapi import APIRouter
|
from fastapi import APIRouter, FastAPI, Response
|
||||||
from fastapi import Response
|
|
||||||
from creyPY.fastapi.app import generate_unique_id
|
from creyPY.fastapi.app import generate_unique_id
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
from fastapi import FastAPI
|
|
||||||
from fastapi.middleware.cors import CORSMiddleware
|
from fastapi.middleware.cors import CORSMiddleware
|
||||||
|
|
||||||
load_dotenv()
|
load_dotenv()
|
||||||
|
|||||||
Reference in New Issue
Block a user