{"action":"created","issue":{"url":"https://api.github.com/repos/tgstation/-tg-station/issues/12637","labels_url":"https://api.github.com/repos/tgstation/-tg-station/issues/12637/labels{/name}","comments_url":"https://api.github.com/repos/tgstation/-tg-station/issues/12637/comments","events_url":"https://api.github.com/repos/tgstation/-tg-station/issues/12637/events","html_url":"https://github.com/tgstation/-tg-station/pull/12637","id":113193699,"number":12637,"title":"Adds a new tool, ColonCatcher.py","user":{"login":"RemieRichards","id":4043781,"avatar_url":"https://avatars.githubusercontent.com/u/4043781?v=3","gravatar_id":"","url":"https://api.github.com/users/RemieRichards","html_url":"https://github.com/RemieRichards","followers_url":"https://api.github.com/users/RemieRichards/followers","following_url":"https://api.github.com/users/RemieRichards/following{/other_user}","gists_url":"https://api.github.com/users/RemieRichards/gists{/gist_id}","starred_url":"https://api.github.com/users/RemieRichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RemieRichards/subscriptions","organizations_url":"https://api.github.com/users/RemieRichards/orgs","repos_url":"https://api.github.com/users/RemieRichards/repos","events_url":"https://api.github.com/users/RemieRichards/events{/privacy}","received_events_url":"https://api.github.com/users/RemieRichards/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tgstation/-tg-station/labels/Tools","name":"Tools","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-24T23:36:13Z","updated_at":"2015-10-24T23:52:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tgstation/-tg-station/pulls/12637","html_url":"https://github.com/tgstation/-tg-station/pull/12637","diff_url":"https://github.com/tgstation/-tg-station/pull/12637.diff","patch_url":"https://github.com/tgstation/-tg-station/pull/12637.patch"},"body":"<B>ColonCatcher.py</B>\r\nColonCatcher.py finds all colons that are used to avoid typesafety (Bad colons! very bad!) and ones used in ternary operations (1. because @MrPerson said to, 2. because the logic of avoiding all ternary colons is CRAZY complex)\r\n\r\n<B>Output Format:</B>\r\nfilename (truncated down to just SS13 related stuff) line, line?, line (Line? represents a ternary operator colon) and then the total colons, \r\neg: ```..code\\world.dm Lines: 27, 28, 98?, 102?, 119?, 149?, 230? Total Colons: 7```\r\nThese files are saved as \"currentdate-colon_operator_log.txt\" where currentdate is today's date (25/10/2015) in reverse (2015/20/25)\r\n\r\nAlso included is today's log, as an example, it's the latest master (as of just before pushing this PR) and reported: \"433/1564 files have colons in them\""},"comment":{"url":"https://api.github.com/repos/tgstation/-tg-station/issues/comments/150872758","html_url":"https://github.com/tgstation/-tg-station/pull/12637#issuecomment-150872758","issue_url":"https://api.github.com/repos/tgstation/-tg-station/issues/12637","id":150872758,"user":{"login":"PKPenguin321","id":8345184,"avatar_url":"https://avatars.githubusercontent.com/u/8345184?v=3","gravatar_id":"","url":"https://api.github.com/users/PKPenguin321","html_url":"https://github.com/PKPenguin321","followers_url":"https://api.github.com/users/PKPenguin321/followers","following_url":"https://api.github.com/users/PKPenguin321/following{/other_user}","gists_url":"https://api.github.com/users/PKPenguin321/gists{/gist_id}","starred_url":"https://api.github.com/users/PKPenguin321/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PKPenguin321/subscriptions","organizations_url":"https://api.github.com/users/PKPenguin321/orgs","repos_url":"https://api.github.com/users/PKPenguin321/repos","events_url":"https://api.github.com/users/PKPenguin321/events{/privacy}","received_events_url":"https://api.github.com/users/PKPenguin321/received_events","type":"User","site_admin":false},"created_at":"2015-10-24T23:52:20Z","updated_at":"2015-10-24T23:52:20Z","body":"when i glanced at the title i only read the first and last part and for a brief moment i thought it was called colonoscopy\r\ni don't have anything to add because i have no idea what this actually is but i just thought it was funny"}}