Skip to content

Commit 645e97a

Browse files
eddiebergmanmfeurer
andcommitted
Black format checker (#1311)
* black checker * Simplified * add examples to black format check Co-authored-by: Matthias Feurer <[email protected]>
1 parent b2ac331 commit 645e97a

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

.github/workflows/black_checker.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,6 @@
11
name: black-format-check
22

3-
on:
4-
# Manually triggerable in github
5-
workflow_dispatch:
6-
7-
# When a push occurs on either of these branches
8-
push:
9-
branches:
10-
- master
11-
- development
12-
13-
# When a push occurs on a PR that targets these branches
14-
pull_request:
15-
branches:
16-
- master
17-
- development
3+
on: [push, pull_request]
184

195
env:
206
#If STRICT is set to true, it will fail on black check fail
@@ -28,8 +14,6 @@ jobs:
2814

2915
- name: Checkout
3016
uses: actions/checkout@v2
31-
with:
32-
submodules: recursive
3317

3418
- name: Setup Python 3.7
3519
uses: actions/setup-python@v2

0 commit comments

Comments
 (0)