Skip to content

refactor: optimize preprocess #113

refactor: optimize preprocess

refactor: optimize preprocess #113

Workflow file for this run

name: code-lint
on:
push:
branches:
- main
paths:
- 'configs/**'
- 'edgelab/**'
- 'tools/**'
- 'pyproject.toml'
- '.pre-commit-config.yaml'
- '.github/workflows/code-lint.yml'
pull_request:
branches:
- dev
paths:
- 'configs/**'
- 'edgelab/**'
- 'tools/**'
- 'pyproject.toml'
- '.pre-commit-config.yaml'
- '.github/workflows/code-lint.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@v4
- name: setup python
uses: actions/setup-python@v5
with:
python-version: '3.8'
cache: 'pip'
- name: install dependencies
run: python -m pip install -r requirements/tests.txt
- name: ruff lint
run: python -m ruff .