=== shardy_afk is now known as shardy === shardy is now known as shardy_lunch === shardy_lunch is now known as shardy [16:05] smoser: https://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/320560 [16:17] smoser: https://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/317692 [16:23] https://code.launchpad.net/~wesley-wiedenmeier/cloud-init/+git/cloud-init/+merge/308218 [16:23] https://code.launchpad.net/~wesley-wiedenmeier/cloud-init/+git/cloud-init/+merge/314496 [16:27] powersj, https://code.launchpad.net/~raharper/curtin/trunk.snappy-dd/+merge/317672 === powersj_ is now known as powersj [17:31] powersj, you said you filed a pylint issue [17:31] for [17:31] + _REQ_VER = LooseVersion(_REQ.version) # pylint: disable=no-member [17:43] smoser: yes [17:44] link K? [17:44] https://github.com/PyCQA/pylint/issues/1390 [17:55] powersj, http://paste.ubuntu.com/24242020/ [17:55] that look sane ? [17:55] on top of yours [17:56] err. http://paste.ubuntu.com/24242021/ [17:57] I like that change, did you run pylint to make sure it is still good? [18:01] yeah, it is. [18:01] you're welcome to add a pylint-tip [18:02] ok let me add your changes and -tip [18:02] thanks for looking [18:02] powersj, i can just do it here too. [18:02] and pull it. [18:02] ok whatever is easier [18:03] or you can . etierh way. i wont add the -tip right now if i do it. [18:03] let me do it then [18:04] * powersj is seriously missing his large monitor right now [18:18] smoser: merge updated [18:22] oh.. [18:22] theo hter question... [18:22] would be nice to get Renderer out of .pylintrc [18:25] https://paste.ubuntu.com/24242207/ [18:27] I did start to mess with that code, but thought better [18:39] http://paste.ubuntu.com/24242277/ [18:41] powersj, ^ i think that is right. [18:42] smoser: is there a way to test that? [18:42] other than building the deb and injecting it in some image :) [18:45] powersj, well, pylint runs [18:45] :D [18:45] and it is looking at all the things that subclass from Renderer [18:45] well, i thought it was [18:45] wait. it might [18:45] mine just passed with that [18:50] smoser: want me to commit? [18:53] powersj, how do i make it show an error ? [18:53] i want to see the error number [18:56] hmm I have to remember, I don't think it is as simple as turning on the report [19:00] pylint --disable=C,R --enable=W0223 cloudinit/net/eni.py '--msg-template={path}:{line}: [{msg_id}({symbol}), {obj}] {msg}' [19:00] so... its annoying though [19:01] you cant enable just that warning [19:01] if you disable W (like you did in the .pylintrc) then you can't enable a specific warning [19:03] powersj, so... i added that @abc.abstract [19:04] added to? [19:04] and then i removed an the eni.Renderer [19:04] http://paste.ubuntu.com/24242414/ [19:04] and saw that pylint *does* complain about that. [19:04] so i thought "ok, i'd like to see other occurences of W0224" [19:04] but, thats not so easy [19:05] :) [19:06] i would have hoped that explicitly listing a W0224 in the enable would do that. [19:06] but it seems if they're turned off in the disable with 'W' (all warnings) then you cant turn back on [19:06] i thik [19:13] I agree, I tried disable: all and then enable a few things, but that didn't seem to work [19:14] i think you can disable the things one by one [19:14] WXXX,WXXX,WXXX [19:14] so we could get there. [19:14] i just merged. [19:15] you can diff trunk versus your branch to see the delta [19:16] thanks! looks like you fixed up renderer [19:17] yeah. and removed a duouble declaration of thread._local ? [19:18] powersj, now i'd love to get to a point where we did not have to disable all warnings. [19:18] oh wow.. didn't even see that [19:18] yeah that would be nice; as you said those are helpful [19:19] a lot of the warnings are about exceptions being too broad [19:38] powersj, why didnt ci run on https://code.launchpad.net/~multani/cloud-init/+git/cloud-init/+merge/320815 [19:39] ah this is the whole groups permissions thing [19:40] jenkins-launchpad-plugin only lets you run jobs if people are in certain groups, so I would need to add his name to the list of valid users [19:40] I've done this for a few other people as well [19:43] ah. k [19:44] next run should pick his up [19:52] smoser: https://paste.ubuntu.com/24242635/ 465 warnings: 129x too general exception 112x using deprecated warn 47x unused argument 33x unused variable 25x TODO [19:54] so it'd be nice to see the unused variable [19:54] as honestly we should fix those [19:55] and the deprecpated warn we could fix too [22:59] smoser: when you are really bored this weekend you can snap cloud-init ;) https://code.launchpad.net/~powersj/cloud-init/+git/cloud-init/+merge/320994