-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #164 from sommersoft/patch_black_check
Patch: Add Patchfile To Add Black Code Style Check To build.yml
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From e725354300a8c8b9cdfcca9e8345568acee96d85 Mon Sep 17 00:00:00 2001 | ||
From: sommersoft <sommersoft@gmail.com> | ||
Date: Tue, 7 Apr 2020 15:02:31 -0500 | ||
Subject: [PATCH] build.yml: add black formatting check | ||
|
||
--- | ||
.github/workflows/build.yml | 3 +++ | ||
1 file changed, 3 insertions(+) | ||
|
||
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml | ||
index 1dad804..b6977a9 100644 | ||
--- a/.github/workflows/build.yml | ||
+++ b/.github/workflows/build.yml | ||
@@ -44,4 +44,7 @@ jobs: | ||
- name: Library version | ||
run: git describe --dirty --always --tags | ||
+ - name: Check formatting | ||
+ run: | | ||
+ black --check --target-version=py35 . | ||
- name: PyLint | ||
run: | | ||
-- | ||
2.17.1 | ||
|