Skip to content

Adding python quality checks to CMSSW (https://github.com/cms-sw/cms-bot/pull/2319/ follow-up) #583

Adding python quality checks to CMSSW (https://github.com/cms-sw/cms-bot/pull/2319/ follow-up)

Adding python quality checks to CMSSW (https://github.com/cms-sw/cms-bot/pull/2319/ follow-up) #583

Workflow file for this run

name: Black Style Check
on:
pull_request:
paths:
- '**/*.py'
jobs:
black_check:
name: Check Python Code Style with Black
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "--check --diff --verbose -l 99 -t py36 -t py37 -t py38 -t py39 -t py310 -t py311"