Re: PyGObject: pep8 konform



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/


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