File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,3 +20,15 @@ This is a work in progress.
2020
2121[ learn ] : https://learn.adafruit.com/
2222
23+ ## Running pylint locally
24+ Install a specific version of pylint under the name "pylint-learn":
25+ ```
26+ pip install pipx
27+ pipx install --suffix=-learn pylint==2.7.1
28+ ```
29+ Then use the ` pylint_check ` script to run pylint on the files or directories
30+ of your choice (note that your terminal * must* be in the top directory of
31+ Adafruit_Learning_System_Guides, not a sub-directory):
32+ ```
33+ ./pylint_check CircuitPython_Cool_Project
34+ ```
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3- PYLINT=" ` type -p pylint3 2> /dev/null || type -p pylint` "
3+ PYLINT=" ` type -p pylint-learn 2> /dev/null || type -p pylint3 2> /dev/null || type -p pylint` "
44echo " Using pylint bin at $PYLINT "
55
66# Use * as the default argument to avoid descending into hidden directories like .git
You can’t perform that action at this time.
0 commit comments