diff --git a/.github/workflows/pylint.yml b/.github/workflows/ruff.yml similarity index 80% rename from .github/workflows/pylint.yml rename to .github/workflows/ruff.yml index bd8c480..e921c07 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/ruff.yml @@ -17,7 +17,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install pylint - - name: Analysing the code with pylint + pip install ruff + - name: Analysing the code with ruff run: | - pylint $(git ls-files '*.py') + ruff check ./ diff --git a/backend/main.py b/backend/main.py index 6abd70c..c87eda5 100644 --- a/backend/main.py +++ b/backend/main.py @@ -81,6 +81,7 @@ async def generate_audiocast(request: AudioCastRequest): raise HTTPException(status_code=400, detail="Invalid content type") # TODO: Implement content generation and audio synthesis + print(f"prompt_template: {prompt_template}") return AudioCastResponse( uuid=audiocast_id, diff --git a/requirements.txt b/requirements.txt index ea333f8..7e39c8e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,4 +11,6 @@ pyttsx3 soundfile numpy==1.24.3 pandas -python-dotenv \ No newline at end of file +python-dotenv + +ruff \ No newline at end of file