Skip to content

Commit

Permalink
replace pylint.yml with ruff.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nwaughachukwuma committed Oct 26, 2024
1 parent 01ef990 commit d08b071
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pylint.yml → .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./
1 change: 1 addition & 0 deletions backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ pyttsx3
soundfile
numpy==1.24.3
pandas
python-dotenv
python-dotenv

ruff

0 comments on commit d08b071

Please sign in to comment.