Skip to content

Add ruff badge to readme (#407) #1005

Add ruff badge to readme (#407)

Add ruff badge to readme (#407) #1005

Workflow file for this run

name: linting
on: [push, pull_request]
jobs:
linting:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v2
- name: Set up python
uses: actions/setup-python@v4
- name: Check black style and linting
run: pip install ruff
- name: Ruff check
if: ${{ always() }}
run: ruff check .
- name: Ruff format
if: ${{ always() }}
run: ruff format . --check