Skip to content

fix: use ruff for linting, formatting #1

fix: use ruff for linting, formatting

fix: use ruff for linting, formatting #1

Workflow file for this run

name: Agent Tests
on:
push:
branches:
- master
pull_request:
branches:
- '*'
workflow_dispatch:
jobs:
lint-and-format:
name: 'Ruff'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install dependencies
run: |
pip install ruff
- name: Check Root
run: |
pwd
ls
echo $GITHUB_WORKSPACE
- name: Lint
run: |
ruff check --output-format github
- name: Flake8 Test
run: |
ruff format --check