mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 05:43:28 +02:00
py: Various flake8 cleanups
None of these are particularly significant, but they do get the CI output clean. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
@@ -29,7 +29,7 @@ for filename in in_files:
|
||||
match = re.search(b"\bg_[a-zA-Z0-9_]*_get_type\b", line)
|
||||
if match:
|
||||
func = match.group(0)
|
||||
if not func in funcs:
|
||||
if func not in funcs:
|
||||
funcs.append(func)
|
||||
if debug:
|
||||
print("Found ", func)
|
||||
|
Reference in New Issue
Block a user