Skip to content

Merge pull request #95 from historysciencelab/implement-ruff-check-ev… #4

Merge pull request #95 from historysciencelab/implement-ruff-check-ev…

Merge pull request #95 from historysciencelab/implement-ruff-check-ev… #4

Workflow file for this run

name: Code formatting
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
- name: Format the code
run: |
ruff format .