Skip to content

fix: Resolve merge conflicts by accepting local formatted/cleaned ver… #40

fix: Resolve merge conflicts by accepting local formatted/cleaned ver…

fix: Resolve merge conflicts by accepting local formatted/cleaned ver… #40

Workflow file for this run

name: Python application
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
permissions:
contents: read
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: psf/black@stable
- uses: isort/isort-action@v1
lint:
name: Lint with ruff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install ruff
run: |
pip install ruff
- name: Lint with ruff
run: |
# stop the build if there are Python syntax errors or undefined names
ruff check src unittests