{"schema":"libjg2-1",
"vpath":"/git/",
"avatar":"/git/avatar/",
"alang":"",
"gen_ut":1751084196,
"reponame":"openssl",
"desc":"OpenSSL",
"owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://warmcat.com/repo/openssl",
"f":3,
"items": [
{"schema":"libjg2-1",
"cid":"8a735d222fc6d5052f58a01a1435ce3c",
"commit": {"type":"commit",
"time": 1542737049,
"time_ofs": 60,
"oid_tree": { "oid": "e66eef71e10d09f0cdc321dc1dc6e28b2c69da31", "alias": []},
"oid":{ "oid": "e587e8e36a0279674882f4b8bdba81ed1b10e1a6", "alias": []},
"msg": "Travis CI: Use flake8 to find Python syntax errors or undefined names",
"sig_commit": { "git_time": { "time": 1542737049, "offset": 60 }, "name": "Dr. Matthias St. Pierre", "email": "Matthias.St.Pierre@ncp-e.com", "md5": "7d700d548b38974b2492f8ff219793b3" },
"sig_author": { "git_time": { "time": 1539667080, "offset": 120 }, "name": "cclauss", "email": "cclauss@bluewin.ch", "md5": "9d9c989542e0970b7a1c0fe88578dec6" }},
"body": "Travis CI: Use flake8 to find Python syntax errors or undefined names\n\nCLA: trivial\n\nIn Travis CI, add a Python linting step that runs flake8 tests in Travis CI\nto find syntax errors and undefined names. (http://flake8.pycqa.org)\n\n__E901,E999,F821,F822,F823__ are the \u0022_showstopper_\u0022 flake8 issues that can halt\nthe runtime with a SyntaxError, NameError, etc. Most other flake8 issues are\nmerely \u0022style violations\u0022 -- useful for readability but they do not effect\nruntime safety.\n\n* F821: undefined name `name`\n* F822: undefined name `name` in `__all__`\n* F823: local variable name referenced before assignment\n* E901: SyntaxError or IndentationError\n* E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree\n\nReviewed-by: Paul Dale \u003cpaul.dale@oracle.com\u003e\nReviewed-by: Matthias St. Pierre \u003cMatthias.St.Pierre@ncp-e.com\u003e\n(Merged from https://github.com/openssl/openssl/pull/7410)\n\n(cherry picked from commit 2a6f57bc098cdfa6320189f2725337c7f74a052e)\n"
,
"diff": "diff --git a/.travis.yml b/.travis.yml\nindex 764da28..0124368 100644\n--- a/.travis.yml\n+++ b/.travis.yml\n@@ -120,6 +120,18 @@ matrix:\n - gcc-mingw-w64\n compiler: x86_64-w64-mingw32-gcc\n env: EXTENDED_TEST\u003d\u0022yes\u0022 CONFIG_OPTS\u003d\u0022no-pic\u0022\n+ - os: linux\n+ language: python\n+ python: 3.7\n+ dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069)\n+ sudo: required # required for Python 3.7 (travis-ci/travis-ci#9069)\n+ install: pip install flake8\n+ before_script:\n+ # stop the build if there are Python syntax errors or undefined names\n+ - flake8 . --count --select\u003dE901,E999,F821,F822,F823 --show-source --statistics\n+ # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide\n+ - flake8 . --count --exit-zero --max-complexity\u003d10 --max-line-length\u003d127 --statistics\n+ script: true\n exclude:\n - os: linux\n compiler: clang\n","s":{"c":1750828466,"u": 39437}}
],"g": 1191,"chitpc": 0,"ehitpc": 0,"indexed":0
,
"ab": 0, "si": 0, "db":0, "di":0, "sat":0, "lfc": "7d0a"}