Skip to content

Commit

Permalink
Add Black & isort check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
akaihola committed Mar 11, 2024
1 parent a989cb3 commit a1ae030
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/darker-black-isort.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: darker-black-isort

on: push # yamllint disable-line rule:truthy

jobs:
reformat-modified:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Reformat code using own GitHub action straight from the repository
uses: ./
with:
options: --check --diff --color --isort
src: action release_tools setup.py src/darker
revision: origin/master...
version: "@${{ github.ref_name }}"

0 comments on commit a1ae030

Please sign in to comment.