Skip to content

Commit e0e218b

Browse files
authored
Merge pull request #1772 from jepler/update-pylint-skip-old-guides
Update pylint and skip old guides
2 parents 574d690 + a1ffa1f commit e0e218b

156 files changed

Lines changed: 1066 additions & 339 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/githubci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ jobs:
5050
- name: Versions
5151
run: |
5252
python3 --version
53-
- name: Pip install pylint, black, & Sphinx
53+
- name: Pip install pylint
5454
run: |
55-
pip install --force-reinstall pylint==1.9.2
55+
pip install --force-reinstall pylint==2.7.1
5656
- name: Checkout Current Repo
5757
uses: actions/checkout@v2
5858

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Anne Barela <mydigitalhome@gmail.com>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3D_Printed_LED_Microphone_Flag/3D_Printed_LED_Microphone_Flag.py 137: Consider using tuple unpacking for swapping variables (consider-swap-variables)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ABC_Soundboards_for_NeoTrellis/code.py 169: Comparison 'currently_playing['voice'] != None' should be 'currently_playing['voice'] is not None' (singleton-comparison)
2+
ABC_Soundboards_for_NeoTrellis/code.py 186: Comparison 'currently_playing['voice'] != None' should be 'currently_playing['voice'] is not None' (singleton-comparison)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Adafruit_MAX98357/I2S_Test_Script.py 30: Unnecessary "else" after "continue" (no-else-continue)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Adafruit_UDA1334A/I2S_Test_Script.py 30: Unnecessary "else" after "continue" (no-else-continue)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
BLE_Client_Server/client.py 77: Consider merging these comparisons with "in" to 'color_index in (0, 28)' (consider-using-in)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
BLE_Heart_Rate_Trainer/ble_heart_rate_trainer.py 154: Comparison to literal (literal-comparison)
2+
BLE_Heart_Rate_Trainer/ble_heart_rate_trainer.py 158: Comparison to literal (literal-comparison)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
BLE_Host_Computer/ble_eval_server.py 22: Catching too general exception Exception (broad-except)
2+
BLE_Host_Computer/ble_eval_server.py 21: Use of eval (eval-used)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Bluetooth_Restroom_Keys/code.py 84: Catching too general exception Exception (broad-except)
2+
Bluetooth_Restroom_Keys/code.py 6: standard import "from array import array" should be placed before "from adafruit_ble import BLERadio" (wrong-import-order)
3+
Bluetooth_Restroom_Keys/code.py 11: standard import "from math import pi, sin" should be placed before "from adafruit_ble import BLERadio" (wrong-import-order)
4+
Bluetooth_Restroom_Keys/code.py 13: standard import "from time import sleep" should be placed before "from adafruit_ble import BLERadio" (wrong-import-order)

0 commit comments

Comments
 (0)