Skip to content

Commit

Permalink
Black format checker (#1311)
Browse files Browse the repository at this point in the history
* black checker

* Simplified

* add examples to black format check

Co-authored-by: Matthias Feurer <[email protected]>
  • Loading branch information
eddiebergman and mfeurer committed Aug 18, 2022
1 parent b2ac331 commit 645e97a
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/black_checker.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
name: black-format-check

on:
# Manually triggerable in github
workflow_dispatch:

# When a push occurs on either of these branches
push:
branches:
- master
- development

# When a push occurs on a PR that targets these branches
pull_request:
branches:
- master
- development
on: [push, pull_request]

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

- name: Checkout
uses: actions/checkout@v2
with:
submodules: recursive

- name: Setup Python 3.7
uses: actions/setup-python@v2
Expand Down

0 comments on commit 645e97a

Please sign in to comment.