summaryrefslogtreecommitdiff
path: root/.github/workflows/darker-lint.yml
blob: bf596c5588d51bf53583a9e1f0f2378723344261 (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 --revision current"
          src: "."
          version: "~=2.1.1"
          lint: "flake8,pylint==2.13.1"