Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #51609

Re: PEP8 79 char max

Date 2013-07-31 07:32 +1000
From Cameron Simpson <cs@zip.com.au>
Subject Re: PEP8 79 char max
References <op.w00eu0e7a8ncjz@gnudebeest>
Newsgroups comp.lang.python
Message-ID <mailman.5344.1375219968.3114.python-list@python.org> (permalink)

Show all headers | View raw


On 30Jul2013 01:41, Rhodri James <rhodri@wildebst.demon.co.uk> wrote:
| On Tue, 30 Jul 2013 01:11:18 +0100, Joshua Landau <joshua@landau.ws> wrote:
| >On 30 July 2013 00:08, Rhodri James <rhodri@wildebst.demon.co.uk> wrote:
| >>I'm working on some shonky C code at the moment that inconsistent
| >>indentation and very long lines.
[...]

Have you tried the indent(1) command?

  DESCRIPTION
     indent is a C program formatter.  It reformats the C program in the
     input_file according to the switches.  The switches which can be speci‐
     fied are described below.  They may appear before or after the file
     names.

Very handy sometimes.

Cheers,
-- 
Cameron Simpson <cs@zip.com.au>

The top three answers:  Yes I *am* going to a fire!
                        Oh! We're using *kilometers* per hour now.
                        I have to go that fast to get back to my own time.
- Peter Harper <bo165@FreeNet.Carleton.CA>

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

PEP8 79 char max Devyn Collier Johnson <devyncjohnson@gmail.com> - 2013-07-29 15:43 -0400
  Re: PEP8 79 char max John Gordon <gordon@panix.com> - 2013-07-29 20:30 +0000
  Re: PEP8 79 char max Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-07-29 21:09 +0000
    Re: PEP8 79 char max "Rhodri James" <rhodri@wildebst.demon.co.uk> - 2013-07-30 00:08 +0100
      Re: PEP8 79 char max Joshua Landau <joshua@landau.ws> - 2013-07-30 01:11 +0100
        Re: PEP8 79 char max "Rhodri James" <rhodri@wildebst.demon.co.uk> - 2013-07-30 01:41 +0100
          Re: PEP8 79 char max Joshua Landau <joshua@landau.ws> - 2013-07-30 03:12 +0100
          Re: PEP8 79 char max Cameron Simpson <cs@zip.com.au> - 2013-07-31 07:32 +1000
  Re: PEP8 79 char max llanitedave <llanitedave@veawb.coop> - 2013-07-31 00:30 -0700

csiph-web