aboutsummaryrefslogtreecommitdiff
path: root/circuitpython/tools/adabot/patches/0001-build.yml-add-black-formatting-check.patch
blob: 7c6302ac7dac0f4502cf3eb2ea7ebe986cd27991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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