fix lint error
This commit is contained in:
parent
26774dd680
commit
a4e87cd9b9
|
@ -1,5 +1,5 @@
|
|||
[pycodestyle]
|
||||
count=1
|
||||
select = W1, W2, W3, E114, E115, E125, E129, E211, E222, E227, E266, E271, E272, E3, E703, E711, E712, E713, E721, E9
|
||||
select = W1, W2, W3, E114, E115, E125, E129, E211, E222, E227, E262, E266, E271, E272, E3, E703, E711, E712, E713, E721, E9
|
||||
# https://pycodestyle.readthedocs.io/en/latest/intro.html#error-codes
|
||||
max-line-length = 100
|
||||
|
|
|
@ -343,6 +343,7 @@ def progressbar_pixbuf(width, height, percentage):
|
|||
|
||||
return cairo_surface_to_pixbuf(surface)
|
||||
|
||||
|
||||
def get_background_color(state=Gtk.StateFlags.NORMAL, widget=Gtk.TreeView()):
|
||||
"""
|
||||
@param state state flag (e.g. Gtk.StateFlags.SELECTED to get selected background)
|
||||
|
|
Loading…
Reference in New Issue