git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/1] Travis CI: Lint for Python syntax errors and undefined names

From
CGChristian Clauss via GitGitGadget <gitgitgadget@gmail.com>
Date
Jul 19, 2019, 14:18 UTC
Message-ID
<pull.290.git.gitgitgadget@gmail.com>

Several things were changed between Python 2 and Python 3. Here we are making changes to make the code run on both Py2 and Py3. We are doing this because the end of life of Python 2 is in 167 days. We are using print() function because legacy print statements are syntax errors on Py3.reduce() was moved in Python 3 and raw_input() was removed so we make changes to avoid NameErrors at runtime. Signed-off-by: Christian Clauss cclauss@me.com [cclauss@me.com]

cclauss (1):
  Travis CI: Lint for Python syntax errors and undefined names
 .travis.yml                        |  4 +++
 contrib/fast-import/import-zips.py |  3 +-
 contrib/hg-to-git/hg-to-git.py     | 47 +++++++++++++++---------------
 git-p4.py                          |  3 ++
 4 files changed, 33 insertions(+), 24 deletions(-)
base-commit: 9d418600f4d10dcbbfb0b5fdbc71d509e03ba719
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-290%2Fcclauss%2Fpatch-1-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-290/cclauss/patch-1-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/290
-- 
gitgitgadget
Next: cclauss via GitGitGadget
Message 1 of 4 in “Travis CI: Lint for Python syntax errors and undefined names”
  1. 0/1 Travis CI: Lint for Python syntax errors and undefined namesChristian Clauss via GitGitGadget, Jul 19, 2019
  2. 1/1 Travis CI: Lint for Python syntax errors and undefined namescclauss via GitGitGadget, Jul 19, 2019
  3. Junio C HamanoJul 19, 2019
  4. SZEDER GáborJul 20, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.