Skip to content

feat: optimize imports #116

feat: optimize imports

feat: optimize imports #116

Workflow file for this run

name: Ruff Checks (lint/format)
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Lint Check
run: |
<<<<<<< HEAD:.github/workflows/linting.yml

Check failure on line 23 in .github/workflows/ruff.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ruff.yml

Invalid workflow file

You have an error in your yaml syntax on line 23
ruff check $(git ls-files '*.py')
black $(git ls-files '*.py')
=======
ruff check .
- name: Format Check
run: |
ruff format --check .
>>>>>>> origin/snappy:.github/workflows/ruff.yml