jeblair | mordred: i just learned about typeshed | 00:11 |
---|---|---|
jeblair | apparently the way mypy works is that in order to deal with stuff from the stdlib or third party modules which don't have (complete) type information, there is a repository called typeshed with pyi files for everything. | 00:12 |
jeblair | https://github.com/python/typeshed | 00:12 |
jeblair | if you use something from a module which doesn't have complete type info in typeshed, you'll get an error like: | 00:13 |
jeblair | zuul/sphinx/zuul.py:117: error: Module has no attribute "inline" | 00:13 |
jeblair | (that was me trying to use docutils.nodes.inline) | 00:13 |
jeblair | as you can see, the typeshed info for docutils is... minimal: https://github.com/python/typeshed/blob/master/third_party/3/docutils/nodes.pyi | 00:14 |
jeblair | based on all the google results i went through trying to understand that error, their approach seems to be "if people have problems they will open issues and/or pull requests" | 00:14 |
jeblair | see for example: https://github.com/python/mypy/issues/3589 | 00:15 |
jeblair | so i think we may need to make zuul devs aware of that, and that you can use "# type: ignore" to silence the error | 00:15 |
openstackgerrit | James E. Blair proposed openstack-infra/zuul feature/zuulv3: Support cross-references based on zuul:attr https://review.openstack.org/488890 | 00:17 |
openstackgerrit | James E. Blair proposed openstack-infra/zuul feature/zuulv3: Make zuul the default sphinx domain https://review.openstack.org/488891 | 00:28 |
openstackgerrit | James E. Blair proposed openstack-infra/zuul feature/zuulv3: Add zuul:value xref https://review.openstack.org/488892 | 00:28 |
jeblair | okay, i think that's the framework set up to go and change all the rest of the definition lists to zuul:attr directives | 00:29 |
mordred | ++ to the approach to dealing with that | 00:45 |
*** jkilpatr has quit IRC | 00:56 | |
*** xinliang has quit IRC | 01:00 | |
*** jkilpatr has joined #zuul | 01:10 | |
*** harlowja_ has quit IRC | 01:13 | |
*** harlowja has joined #zuul | 02:05 | |
*** deep-book-gk_ has joined #zuul | 02:53 | |
*** deep-book-gk_ has left #zuul | 02:53 | |
*** harlowja has quit IRC | 03:16 | |
*** xinliang has joined #zuul | 03:17 | |
*** harlowja has joined #zuul | 03:18 | |
*** harlowja has quit IRC | 03:52 | |
*** deep-book-gk_ has joined #zuul | 04:05 | |
*** deep-book-gk_ has left #zuul | 04:06 | |
*** xinliang has quit IRC | 05:51 | |
*** harlowja has joined #zuul | 06:02 | |
*** harlowja has quit IRC | 06:47 | |
*** xinliang has joined #zuul | 07:19 | |
*** xinliang has quit IRC | 07:19 | |
*** xinliang has joined #zuul | 07:19 | |
*** xinliang has quit IRC | 10:30 | |
*** xinliang has joined #zuul | 11:19 | |
*** xinliang has quit IRC | 11:34 | |
*** xinliang has joined #zuul | 11:50 | |
*** xinliang has quit IRC | 11:50 | |
*** xinliang has joined #zuul | 11:50 | |
openstackgerrit | Merged openstack-infra/zuul feature/zuulv3: Remove zuul:configobject https://review.openstack.org/488886 | 13:01 |
openstackgerrit | Merged openstack-infra/zuul feature/zuulv3: Support cross-references based on zuul:attr https://review.openstack.org/488890 | 13:01 |
openstackgerrit | Merged openstack-infra/zuul feature/zuulv3: Make zuul the default sphinx domain https://review.openstack.org/488891 | 13:01 |
openstackgerrit | Merged openstack-infra/zuul feature/zuulv3: Add zuul:value xref https://review.openstack.org/488892 | 13:02 |
openstackgerrit | Merged openstack-infra/zuul feature/zuulv3: Replace singleton lists with None defaults https://review.openstack.org/488676 | 13:02 |
openstackgerrit | Merged openstack-infra/zuul feature/zuulv3: Change name and document the bind_mount config paths https://review.openstack.org/488677 | 13:02 |
openstackgerrit | James E. Blair proposed openstack-infra/zuul feature/zuulv3: Ensure ref-updated jobs run with their ref https://review.openstack.org/488216 | 14:05 |
openstackgerrit | James E. Blair proposed openstack-infra/zuul feature/zuulv3: docs: reformat job section with zuul domain https://review.openstack.org/488955 | 14:50 |
*** harlowja has joined #zuul | 17:59 | |
*** harlowja has quit IRC | 18:14 | |
*** harlowja has joined #zuul | 18:21 | |
*** harlowja has quit IRC | 18:42 | |
*** cinerama has quit IRC | 21:12 | |
*** cinerama has joined #zuul | 21:12 | |
*** deep-book-gk_ has joined #zuul | 23:51 | |
*** deep-book-gk_ has left #zuul | 23:52 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!