summaryrefslogtreecommitdiff
path: root/.github/workflows/darker-lint.yml
blob: 08c4eac0770f433fc860cfc6f8a5ece131a17134 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
name: Darker Lint

on:
  pull_request:
    branches:
      - current

jobs:
  darker-lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - uses: actions/setup-python@v5
      - uses: akaihola/darker@v2.1.1
        with:
          options: "--check --diff --isort --color"
          src: "."
          version: "~=2.1.1"
          lint: "flake8,pylint==2.13.1"