mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
Hide 'redefinition of unused' pyflakes errors
(imported from commit d5c0129c40121f8bca8f2ebedde8fcbf03d718f2)
This commit is contained in:
@@ -121,6 +121,7 @@ def check_pyflakes():
|
|||||||
for ln in pipe:
|
for ln in pipe:
|
||||||
if options.full or not \
|
if options.full or not \
|
||||||
('imported but unused' in ln or
|
('imported but unused' in ln or
|
||||||
|
'redefinition of unused' in ln or
|
||||||
("zephyr_mirror_backend.py:" in ln and
|
("zephyr_mirror_backend.py:" in ln and
|
||||||
"redefinition of unused 'simplejson' from line" in ln)):
|
"redefinition of unused 'simplejson' from line" in ln)):
|
||||||
sys.stdout.write(ln)
|
sys.stdout.write(ln)
|
||||||
|
|||||||
Reference in New Issue
Block a user