)]}'
{"bandit/cli/config_generator.py":[{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"4e2baea5c1172d2381cbadcb4d47acca1f19077b","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":"### override settings - used to set settings for plugins to non-default values"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"{{settings}}"},{"line_number":42,"context_line":"\"\"\""},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9aed3d3a_39a33a51","line":41,"updated":"2016-02-26 17:13:19.000000000","message":"Why are we using this + replace instead of something like \n    template \u003d \"\"\"\n    (other stuff)\n    {settings}\n    \"\"\"\n\nAnd then\n\n    template.format(settings\u003dyaml_settings)\n\nstr.format should be faster, and it works like this except it doesn\u0027t look funny ;)","commit_id":"1134a6c45703c47d8212c4cb6cff746dc4020148"},{"author":{"_account_id":1528,"name":"Stanislaw Pitucha","email":"viraptor@gmail.com","username":"stanislaw-pitucha"},"change_message_id":"4b556ec258bbbd647b6bf9862f323fe9a87b334f","unresolved":false,"context_lines":[{"line_number":130,"context_line":""},{"line_number":131,"context_line":"        else:"},{"line_number":132,"context_line":"            logger.info(\"Successfully wrote profile: %s\", args.output_file)"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"    return 0"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9aed3d3a_3d5eb8e9","line":133,"updated":"2016-02-26 01:21:52.000000000","message":"Should we print out the config to stdout if the output file is not defined? It could be useful for quick debugging.","commit_id":"1134a6c45703c47d8212c4cb6cff746dc4020148"},{"author":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"change_message_id":"a595f7d88c28c3e0a54127147c42d4830c61df13","unresolved":false,"context_lines":[{"line_number":130,"context_line":""},{"line_number":131,"context_line":"        else:"},{"line_number":132,"context_line":"            logger.info(\"Successfully wrote profile: %s\", args.output_file)"},{"line_number":133,"context_line":""},{"line_number":134,"context_line":"    return 0"},{"line_number":135,"context_line":""},{"line_number":136,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"9aed3d3a_b0fe6269","line":133,"in_reply_to":"9aed3d3a_3d5eb8e9","updated":"2016-02-26 07:56:03.000000000","message":"The \"show defaults\" flag still dumps to output.  Maybe we can remove the option and just output to stdout if the file isn\u0027t specified?","commit_id":"1134a6c45703c47d8212c4cb6cff746dc4020148"}],"tests/unit/cli/test_config_generator.py":[{"author":{"_account_id":1528,"name":"Stanislaw Pitucha","email":"viraptor@gmail.com","username":"stanislaw-pitucha"},"change_message_id":"4b556ec258bbbd647b6bf9862f323fe9a87b334f","unresolved":false,"context_lines":[{"line_number":99,"context_line":"            self.assertEqual(0, return_value)"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"    @mock.patch(\u0027sys.argv\u0027, [\u0027bandit-config-generator\u0027])"},{"line_number":102,"context_line":"    def test_main_no_defaults(self):"},{"line_number":103,"context_line":"        # Test that the config generator does not show defaults and returns 0"},{"line_number":104,"context_line":"        with mock.patch(\u0027bandit.cli.config_generator.get_config_settings\u0027"},{"line_number":105,"context_line":"                        ) as mock_config_settings:"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aed3d3a_bdf928cb","side":"PARENT","line":102,"updated":"2016-02-26 01:21:52.000000000","message":"not sure why the test was removed; it\u0027s still vaild without the output file, right?","commit_id":"3d86b83c620855efb9746f3038e60f8fbc14942b"},{"author":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"change_message_id":"2cfbaafe081ff22c587c9483a7e436e8eb6cbfa5","unresolved":false,"context_lines":[{"line_number":99,"context_line":"            self.assertEqual(0, return_value)"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"    @mock.patch(\u0027sys.argv\u0027, [\u0027bandit-config-generator\u0027])"},{"line_number":102,"context_line":"    def test_main_no_defaults(self):"},{"line_number":103,"context_line":"        # Test that the config generator does not show defaults and returns 0"},{"line_number":104,"context_line":"        with mock.patch(\u0027bandit.cli.config_generator.get_config_settings\u0027"},{"line_number":105,"context_line":"                        ) as mock_config_settings:"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aed3d3a_192756b7","side":"PARENT","line":102,"in_reply_to":"9aed3d3a_70121ab6","updated":"2016-02-26 17:01:44.000000000","message":"Other output isn\u0027t being tested either, I\u0027d actually prefer to merge this as is and come up with more comprehensive testing later.","commit_id":"3d86b83c620855efb9746f3038e60f8fbc14942b"},{"author":{"_account_id":11861,"name":"Travis McPeak","email":"tmcpeak@us.ibm.com","username":"travis-mcpeak"},"change_message_id":"a595f7d88c28c3e0a54127147c42d4830c61df13","unresolved":false,"context_lines":[{"line_number":99,"context_line":"            self.assertEqual(0, return_value)"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"    @mock.patch(\u0027sys.argv\u0027, [\u0027bandit-config-generator\u0027])"},{"line_number":102,"context_line":"    def test_main_no_defaults(self):"},{"line_number":103,"context_line":"        # Test that the config generator does not show defaults and returns 0"},{"line_number":104,"context_line":"        with mock.patch(\u0027bandit.cli.config_generator.get_config_settings\u0027"},{"line_number":105,"context_line":"                        ) as mock_config_settings:"}],"source_content_type":"text/x-python","patch_set":1,"id":"9aed3d3a_70121ab6","side":"PARENT","line":102,"in_reply_to":"9aed3d3a_bdf928cb","updated":"2016-02-26 07:56:03.000000000","message":"No, since both paths call the \"get_config_settings\" function now, it will be called regardless so this test isn\u0027t valid.  I should probably add another though that validates \"get_config_settings\" is called for the \"-o\" option.","commit_id":"3d86b83c620855efb9746f3038e60f8fbc14942b"}]}
