Code that uses PyGObject can't be PEP8 conformant without generating
version warnings.  My practice is to minimise E402 by moving imports,
then add .flake8 file with;

[flake8]

# E402 module level import not at top of file
# gi.require_version() is required before later imports

ignore = E402

-- 
James Cameron
http://quozl.netrek.org/
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to