)]}'
{"tox.ini":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"8223d70ee093954422bae774d3c2d4fdab472fa4","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"[flake8]"},{"line_number":52,"context_line":"# H106: Don’t put vim configuration in source files"},{"line_number":53,"context_line":"# H203: Use assertIs(Not)None to check for None"},{"line_number":54,"context_line":"# H904: Delay string interpolations at logging calls"},{"line_number":55,"context_line":"enable-extensions\u003dH904"},{"line_number":56,"context_line":"show-source \u003d True"}],"source_content_type":"text/x-properties","patch_set":2,"id":"1f1a1f67_3f9f4bb5","line":53,"range":{"start_line":53,"start_character":2,"end_line":53,"end_character":6},"updated":"2017-07-14 12:38:01.000000000","message":"Don\u0027t we already have this as N536 - Use assertIsNone here: https://github.com/openstack/neutron-lib/blob/master/neutron_lib/hacking/checks.py#L214","commit_id":"6409198438aaa45528539f0848493c439434af22"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"f10b7d6d381494655699eff76bf7bde6242b3b83","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"[flake8]"},{"line_number":52,"context_line":"# H106: Don’t put vim configuration in source files"},{"line_number":53,"context_line":"# H203: Use assertIs(Not)None to check for None"},{"line_number":54,"context_line":"# H904: Delay string interpolations at logging calls"},{"line_number":55,"context_line":"enable-extensions\u003dH904"},{"line_number":56,"context_line":"show-source \u003d True"}],"source_content_type":"text/x-properties","patch_set":2,"id":"1f1a1f67_95015309","line":53,"range":{"start_line":53,"start_character":2,"end_line":53,"end_character":6},"in_reply_to":"1f1a1f67_3ab5cc7e","updated":"2017-07-18 06:43:16.000000000","message":"and we need to consider when we drop the neutron-lib hacking check for assertNone as neutron-lib hacking factory is used in various networking projects. I think it is worth discussed before merging this.","commit_id":"6409198438aaa45528539f0848493c439434af22"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"4a5bd03603da8ee258220967a87e80365d28c515","unresolved":false,"context_lines":[{"line_number":50,"context_line":""},{"line_number":51,"context_line":"[flake8]"},{"line_number":52,"context_line":"# H106: Don’t put vim configuration in source files"},{"line_number":53,"context_line":"# H203: Use assertIs(Not)None to check for None"},{"line_number":54,"context_line":"# H904: Delay string interpolations at logging calls"},{"line_number":55,"context_line":"enable-extensions\u003dH904"},{"line_number":56,"context_line":"show-source \u003d True"}],"source_content_type":"text/x-properties","patch_set":2,"id":"1f1a1f67_3ab5cc7e","line":53,"range":{"start_line":53,"start_character":2,"end_line":53,"end_character":6},"in_reply_to":"1f1a1f67_3f9f4bb5","updated":"2017-07-18 05:46:47.000000000","message":"If hacking has the same rule, I think it is better to use it rather than keeping neutron-specific one. if these two are compatible, isn\u0027t it better to use the hacking one?","commit_id":"6409198438aaa45528539f0848493c439434af22"},{"author":{"_account_id":16688,"name":"Rodolfo Alonso","email":"ralonsoh@redhat.com","username":"rodolfo-alonso-hernandez"},"change_message_id":"da72be654e7ac34d2bd99d0f0faf86b0af943bb7","unresolved":false,"context_lines":[{"line_number":54,"context_line":"# H904: Delay string interpolations at logging calls"},{"line_number":55,"context_line":"enable-extensions\u003dH904"},{"line_number":56,"context_line":"show-source \u003d True"},{"line_number":57,"context_line":"enable-extensions \u003d H106,H203"},{"line_number":58,"context_line":"exclude\u003d.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools"},{"line_number":59,"context_line":"import-order-style \u003d pep8"},{"line_number":60,"context_line":""}],"source_content_type":"text/x-properties","patch_set":2,"id":"1f1a1f67_e0b8192b","line":57,"range":{"start_line":57,"start_character":0,"end_line":57,"end_character":17},"updated":"2017-07-14 11:13:03.000000000","message":"Hmmm, you should ammend L55","commit_id":"6409198438aaa45528539f0848493c439434af22"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"8223d70ee093954422bae774d3c2d4fdab472fa4","unresolved":false,"context_lines":[{"line_number":54,"context_line":"# H904: Delay string interpolations at logging calls"},{"line_number":55,"context_line":"enable-extensions\u003dH904"},{"line_number":56,"context_line":"show-source \u003d True"},{"line_number":57,"context_line":"enable-extensions \u003d H106,H203"},{"line_number":58,"context_line":"exclude\u003d.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools"},{"line_number":59,"context_line":"import-order-style \u003d pep8"},{"line_number":60,"context_line":""}],"source_content_type":"text/x-properties","patch_set":2,"id":"1f1a1f67_9f4bff57","line":57,"range":{"start_line":57,"start_character":0,"end_line":57,"end_character":17},"in_reply_to":"1f1a1f67_e0b8192b","updated":"2017-07-14 12:38:01.000000000","message":"+1 yes agreed","commit_id":"6409198438aaa45528539f0848493c439434af22"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"69f24c43b07d638ce20c386305dd6894f57cae28","unresolved":false,"context_lines":[{"line_number":52,"context_line":"# H106: Don\u0027t put vim configuration in source files."},{"line_number":53,"context_line":"# H203: Use assertIs(Not)None to check for None."},{"line_number":54,"context_line":"# H904: Delay string interpolations at logging calls."},{"line_number":55,"context_line":"enable-extensions\u003dH106,H203,H904"},{"line_number":56,"context_line":"show-source \u003d True"},{"line_number":57,"context_line":"exclude\u003d.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools"},{"line_number":58,"context_line":"import-order-style \u003d pep8"}],"source_content_type":"text/x-properties","patch_set":4,"id":"1f1a1f67_4cad6899","line":55,"range":{"start_line":55,"start_character":23,"end_line":55,"end_character":27},"updated":"2017-07-18 14:09:55.000000000","message":"As we were discussing on PS2 neutron-lib already defines N536 which IIUC is the same functionality as H203. While I agree it\u0027s best to leverage H203, I don\u0027t think we should just leave N536 in lib as it\u0027ll effectively be a duplicate of H203.\n\n\nAlso we need to consider our consumers:\n- In order to pickup lib checks we add with enable-extensions, the consumers must explicitly enable them too. See item #2 from [1]. This means all consumers using our factory will need to enable H203 in their tox.ini.\n- Some consumers are already explicitly ignoring N536 [2].\n\n\nWith that in mind, it seems we need to:\n- Remove the N536 in lib with this patch.\n- Communicate this change to ML so everyone is on the same page.\n- Once landed, update consumers to remove their ignore of N536.\n- Once landed, update consumers to enable H203 where needed.\n\n\n[1] https://github.com/openstack/neutron-lib/blob/master/doc/source/user/hacking.rst\n[2] http://codesearch.openstack.org/?q\u003dN536\u0026i\u003dnope\u0026files\u003dtox.ini\u0026repos\u003d","commit_id":"7419bc320b998fd9088866943ae38dac2ba2252b"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"1e9fbcc49b36b4cd4a151220b0994f04876ad6c7","unresolved":false,"context_lines":[{"line_number":52,"context_line":"# H106: Don\u0027t put vim configuration in source files."},{"line_number":53,"context_line":"# H203: Use assertIs(Not)None to check for None."},{"line_number":54,"context_line":"# H904: Delay string interpolations at logging calls."},{"line_number":55,"context_line":"enable-extensions\u003dH106,H203,H904"},{"line_number":56,"context_line":"show-source \u003d True"},{"line_number":57,"context_line":"exclude\u003d.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,tools"},{"line_number":58,"context_line":"import-order-style \u003d pep8"}],"source_content_type":"text/x-properties","patch_set":4,"id":"1f1a1f67_f1440876","line":55,"range":{"start_line":55,"start_character":23,"end_line":55,"end_character":27},"in_reply_to":"1f1a1f67_4cad6899","updated":"2017-07-18 15:46:25.000000000","message":"I totally agree this. Thanks for summarizing this. This is my neglect in my past comments.","commit_id":"7419bc320b998fd9088866943ae38dac2ba2252b"}]}
