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

Re: Conforming to pep8

From
William Giokas <1007380@gmail.com>
Date
May 9, 2014, 07:44 UTC
Message-ID
<20140509074402.GE9051@wst420>
In-Reply-To
<536c8546ed6fd_182dd0d3100@nysa.notmuch>
On Fri, May 09, 2014 at 02:35:34AM -0500, Felipe Contreras wrote:
Show 7 quoted lines
> William Giokas wrote:
> > Yeah. In fact, for the mercurial stuff the `from mercurial import changegroup`
> > line should be on the same line as the other `from mercurial import ...`
> > line.
> 
> I think the line is too big, it should be rearranged. But every time I
> add something to that list I say: I'll clean it up later =/
Maybe a time to use something like::
  from mercurial import foo \
                        bar \
                        baz \
                        ...

Would make that import into quite a few lines, but would help organize things and let you easily organize things in the future.

Thanks,
-- 
William Giokas | KaiSforza | http://kaictl.net/
GnuPG Key: 0x73CD09CF
Fingerprint: F73F 50EF BBE2 9846 8306  E6B8 6902 06D8 73CD 09CF
Previous: Felipe ContrerasNext: W. Trevor King
Message 11 of 14 in “Conforming to pep8”
  1. William GiokasMay 9, 2014
  2. Jonathan NiederMay 9, 2014
  3. Michael HaggertyMay 9, 2014
  4. Felipe ContrerasMay 9, 2014
  5. William GiokasMay 9, 2014
  6. Felipe ContrerasMay 9, 2014
  7. William GiokasMay 9, 2014
  8. Felipe ContrerasMay 9, 2014
  9. William GiokasMay 9, 2014
  10. Felipe ContrerasMay 9, 2014
  11. William GiokasMay 9, 2014
  12. W. Trevor KingMay 9, 2014
  13. Felipe ContrerasMay 9, 2014
  14. John KeepingMay 9, 2014

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.