Refactor TextGeneration class to support development usecases #752
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint & Format | |
on: [pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pip3 install ruff | |
- run: ruff check | |
env: | |
RUFF_OUTPUT_FORMAT: github | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: pip3 install ruff | |
- run: ruff format --check | |
env: | |
RUFF_OUTPUT_FORMAT: github |