Skip to content

Commit 3a37606

Browse files
committed
upd
1 parent 5b15d79 commit 3a37606

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.pylintrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ class-rgx=[A-Z_][a-zA-Z0-9_]+$
8080
const-rgx=(([A-Z_][A-Z0-9_]*)|(__.*__))$
8181
docstring-min-length=-1
8282
function-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
83-
good-names=r,g,b,w,i,j,k,n,x,y,z,ex,ok,Run,_,cs,TVOC,ubar,rx,ry,x0,y0,y1,x1,ulogging,ufillbetween,ucartesian,y2,
83+
good-names=r,g,b,w,i,j,k,n,x,y,z,ex,ok,Run,_,cs,TVOC,ubar,rx,ry,x0,y0,y1,x1,ulogging,ufillbetween,ucartesian,y2,umap
8484
include-naming-hint=no
8585
inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$
8686
method-rgx=(([a-z][a-z0-9_]{2,30})|(_[a-z0-9_]*))$
@@ -110,13 +110,13 @@ valid-metaclass-classmethod-first-arg=mcs
110110
max-args=15
111111
max-attributes=30
112112
max-bool-expr=5
113-
max-branches=15
113+
max-branches=20
114114
max-locals=25
115115
max-parents=7
116116
max-public-methods=20
117117
max-returns=6
118118
max-statements=60
119-
min-public-methods=1
119+
min-public-methods=0
120120

121121
[EXCEPTIONS]
122122
overgeneral-exceptions=Exception

circuitpython_uplot/umap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ def __init__(
7373
deltax = plot._newxmin
7474
deltay = plot._newymax
7575
color = 0
76-
for j in range(box_iny):
77-
for i in range(box_inx):
76+
for _ in range(box_iny):
77+
for _ in range(box_inx):
7878
plot.append(
7979
Rectangle(
8080
pixel_shader=palette,

examples/uplot_logging_table.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
# - adafruit_bitmap_font
88
# - CircuitPython_TABLE (from https://github.com/jposada202020/CircuitPython_TABLE)
99

10+
import time
1011
import displayio
1112
import board
12-
import time
13+
from table import Table
1314
from circuitpython_uplot.uplot import Uplot, color
1415
from circuitpython_uplot.ulogging import ulogging
15-
from table import Table
1616

1717
# Create a display object
1818
display = board.DISPLAY

0 commit comments

Comments
 (0)