Skip to content

Commit 7e38179

Browse files
authored
Merge pull request #35 from adafruit/patch-fix
Linted
2 parents 13835f4 + d6a4bf2 commit 7e38179

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repos:
2424
name: pylint (library code)
2525
types: [python]
2626
args:
27-
- --disable=consider-using-f-string
27+
- --disable=consider-using-f-string,duplicate-code
2828
exclude: "^(docs/|examples/|tests/|setup.py$)"
2929
- id: pylint
3030
name: pylint (example code)

examples/progressbar_displayio_blinka_color_scale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
# Creating the grayscale Palette using the FancyLed Library
4343
palette = fancy.expand_gradient(grad, 50)
4444

45-
colors = list()
45+
colors = []
4646

4747
# We create an equal space palette. This is done for convenience and clarity as we use
4848
# a value from 0 to 100 in our ProgressBar

0 commit comments

Comments
 (0)