Skip to content

Commit f62217e

Browse files
committed
Add options to Black for checking code style
1 parent 39ed89f commit f62217e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/master_cleaner.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- uses: psf/black@stable
1616
with:
1717
src: "./ezyrb"
18+
options: "--check"
1819

1920
- name: Create Pull Request
2021
uses: peter-evans/create-pull-request@v3
@@ -26,4 +27,4 @@ jobs:
2627
There appear to be some python formatting errors in ${{ github.sha }}. This pull request
2728
uses the [psf/black](https://github.com/psf/black) formatter to fix these issues.
2829
base: ${{ github.head_ref }} # Creates pull request onto pull request or commit branch
29-
branch: actions/black
30+
branch: actions/black

0 commit comments

Comments
 (0)