Skip to content

update github actions and add black linter for PRs #31

update github actions and add black linter for PRs

update github actions and add black linter for PRs #31

Workflow file for this run

name: Run linters on PRs
on:
pull_request:
branches:
- development
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run black linter
uses: psf/black@stable
# use the flake8 linter to annotate improperly formatted code
# note linter arguments are supplied via the .flake8 config file
- name: Annotate PR after running flake8
uses: TrueBrain/actions-flake8@v2