Skip to content

Commit a81413d

Browse files
committed
add a patchfile for build.yml's example file pylint directive
1 parent 797aa09 commit a81413d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From e1f4301b25e7e6f120b85c316cfbaf838fc1282e Mon Sep 17 00:00:00 2001
2+
From: sommersoft <[email protected]>
3+
Date: Wed, 8 Jan 2020 21:09:22 -0600
4+
Subject: [PATCH] update pylint examples directive
5+
6+
---
7+
.github/workflows/build.yml | 2 +-
8+
1 file changed, 1 insertion(+), 1 deletion(-)
9+
10+
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
11+
index 66ce4db..11ce574 100644
12+
--- a/.github/workflows/build.yml
13+
+++ b/.github/workflows/build.yml
14+
@@ -42,7 +42,7 @@ jobs:
15+
- name: PyLint
16+
run: |
17+
pylint $( find . -path './adafruit*.py' )
18+
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace examples/*.py)
19+
+ ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace $( find . -path "./examples/*.py" ))
20+
- name: Build assets
21+
run: circuitpython-build-bundles --filename_prefix ${{ steps.repo-name.outputs.repo-name }} --library_location .
22+
- name: Build docs
23+
--
24+
2.17.1
25+

0 commit comments

Comments
 (0)