Skip to content

Improve pre commit

Improve pre commit #3

Workflow file for this run

name: Ruff and Unittest
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.10.13
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Run Ruff
run: |
python -m ruff check .
python -m ruff format .
- name: Run tests
run: |
python -m unittest discover