Re: PyGObject: pep8 konform
- From: James Cameron <quozl laptop org>
- To: gtk-app-devel-list gnome org
- Subject: Re: PyGObject: pep8 konform
- Date: Sat, 2 Jun 2018 08:43:55 +1000
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]