PyGObject: pep8 konform



How do I make PyGObject code PEP8 konform?

e.g.

#!/usr/bin/env python3
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk

This code causes
E402 module level import not at top of file
E402 module level import not at top of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]