{"push_id":658491376,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"1011dda24826fcac0d0090d35be16da54d8f1155","before":"b9d5d5f823b082d48a3fdf2442c69bf34b91c2eb","commits":[{"sha":"6182e6c38d6aaf40cc5e67ce4ec306f94322cf88","author":{"email":"337dcb6828caa9dfd54b2f4caa350eaf8aae27a3@gmail.com","name":"Dmitriy Khodakov"},"message":"debug disabled","distinct":true,"url":"https://api.github.com/repos/dmitryhd/vacancy_analysis/commits/6182e6c38d6aaf40cc5e67ce4ec306f94322cf88"},{"sha":"1011dda24826fcac0d0090d35be16da54d8f1155","author":{"email":"337dcb6828caa9dfd54b2f4caa350eaf8aae27a3@gmail.com","name":"Dmitriy Khodakov"},"message":"Merge branch 'master' of https://github.com/dmitryhd/vacancy_analysis\nstart_profiler()\nend_profiler()\n\ntimer_b = None\n\ndef start_profiler():\n    import time;\n    global timer_b\n    timer_b = time.time();\n\ndef end_profiler(message = 'TIMING: '):\n    from colorama import init, Fore;\n    init();\n    print(message, Fore.YELLOW , round(time.time() - timer_b, 3), Fore.RESET)\n\nimport argparse\n\ndef parse_args():\n    \"\"\" Process command line arguments. \"\"\"\n    parser = argparse.ArgumentParser()\n    parser.add_argument(\"-d\", \"--db_name\", type=str,\n                        default='data/vac.db',\n                        help=\"database name\")\n    parser.add_argument(\"-c\", \"--compress\",\n                        help=\"do compression\",\n                        action=\"store_true\")\n    args = parser.parse_args()\n    if args.compress:\n        args.db_name = 'xxx'\n    return args\n\ndef main():\n    \"\"\" \"\"\"\n    pass\n\nif __name__ == '__main__':\n    main()\n\nimport unittest\n\nclass TestS(unittest.TestCase):\n    def test_smth(self):\n        self.assertTrue(True)\n\nif __name__ == '__main__':\n    unittest.main()","distinct":true,"url":"https://api.github.com/repos/dmitryhd/vacancy_analysis/commits/1011dda24826fcac0d0090d35be16da54d8f1155"}]}