Skip to content

Lint with Darker

Lint with Darker #7523

Workflow file for this run

name: Lint with Darker
on:
push:
branches:
- 'main'
- 'release/*'
pull_request:
merge_group:
branches: ['main']
permissions:
contents: read
jobs:
lint-with-darker:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1
with:
egress-policy: audit
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
fetch-depth: 0
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: "3.11"
- uses: akaihola/darker@0fcbba37081b4801113c2b017ee5134ecc8b3cd0 # 2.1.1
with:
options: "--check --diff"
src: "./src/qcodes"
revision: "origin/main..."