Skip to content

Commit 2920faf

Browse files
authored
Merge pull request #152 from sommersoft/patch_pylint_followup
Patchfile Updates To Patch Repositories Missed Due To Forkness
2 parents 8f073e0 + 9ad79ef commit 2920faf

3 files changed

+56
-31
lines changed

patches/0001-update-code-of-conduct-discord-moderation-contact-sec.patch

Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
From df50bee07935de149945fed5ad36cc17ea093689 Mon Sep 17 00:00:00 2001
2+
From: sommersoft <[email protected]>
3+
Date: Tue, 17 Mar 2020 17:11:05 -0500
4+
Subject: [PATCH] update example file pylint
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+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
From b9de652ea9505eda809808f51fde922201b8077b Mon Sep 17 00:00:00 2001
2+
From: sommersoft <[email protected]>
3+
Date: Mon, 16 Mar 2020 21:12:48 -0500
4+
Subject: [PATCH] update build.yml to pip install pylint black sphinx
5+
6+
---
7+
.github/workflows/build.yml | 6 +++++-
8+
1 file changed, 5 insertions(+), 1 deletion(-)
9+
10+
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
11+
index 11ce574..fff3aa9 100644
12+
--- a/.github/workflows/build.yml
13+
+++ b/.github/workflows/build.yml
14+
@@ -34,9 +34,13 @@ jobs:
15+
with:
16+
repository: adafruit/actions-ci-circuitpython-libs
17+
path: actions-ci
18+
- - name: Install deps
19+
+ - name: Install dependencies
20+
+ # (e.g. - apt-get: gettext, etc; pip: circuitpython-build-tools, requirements.txt; etc.)
21+
run: |
22+
source actions-ci/install.sh
23+
+ - name: Pip install pylint, black, & Sphinx
24+
+ run: |
25+
+ pip install --force-reinstall pylint==1.9.2 black==19.10b0 Sphinx sphinx-rtd-theme
26+
- name: Library version
27+
run: git describe --dirty --always --tags
28+
- name: PyLint
29+
--
30+
2.17.1
31+

0 commit comments

Comments
 (0)