Skip to content

Merge pull request #55 from SimHeb/main #105

Merge pull request #55 from SimHeb/main

Merge pull request #55 from SimHeb/main #105

Workflow file for this run

name: Lint
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Run black linter
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Set up Python
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4
- name: Install Python dependencies
run: pip install black
- name: Run black
uses: wearerequired/lint-action@548d8a7c4b04d3553d32ed5b6e91eb171e10e7bb # v2
with:
black: true
auto_fix: true