Skip to content

modify sphere2 start point #14

modify sphere2 start point

modify sphere2 start point #14

Workflow file for this run

name: Linting
on:
pull_request:
push:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff pre-commit
- name: Switch to a temporary branch
run: |
git checkout -b _ci_branch_
- name: Run pre-commit on all files
env:
RUFF_OUTPUT_FORMAT: github
run: |
pre-commit run --show-diff-on-failure --color=always --all-files