Skip to content

Commit 21b58d8

Browse files
authored
Add bad-whitespace disable to travis config for examples.
Whitespace in examples is explicit and makes them more readable with vertical alignment of pins. Adding disable comments to the code will result in confusion (are they required to make the example work? no but not obvious to inexperienced users). Disable this globally for all example like the invalid name and docstring checks.
1 parent b3aa4a3 commit 21b58d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ install:
2727

2828
script:
2929
- pylint adafruit_rfm69.py
30-
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name examples/*.py)
30+
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace examples/*.py)
3131
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-rfm69 --library_location .

0 commit comments

Comments
 (0)