[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Possible DEP proposal - contribution preferences



Quoting Mattia Rizzolo (2021-02-09 18:21:46)
> On Tue, Feb 02, 2021 at 01:55:19PM +0000, Jelmer Vernooij wrote:
> >  * Whether or not contributors can feel free to reformat
> >    files (e.g. wrap-and-sort -a -v).
> >    ("allow-reformatting" in lintian-brush.conf)
> 
> On this, please also read https://bugs.debian.org/895570#13
> 
> tl;dr: I honestly believe we should just decide on a format, and
> converge towards it.

> It apparently works quite well for python as a whole ecosystem, where 
> now pretty much nobody is "against" pep8 (or even black!).  There is 
> no reason we can't manage to decide on a wrapping format and stick 
> with it.

Heh, I am not surprised that users of the scripting language driven by 
"There should be one-- and preferably only one --obvious way to do it" 
are more comfortable than most in aligning to a single normalization.

Let's see if Debian can agree on a single normalization of 822-ish 
files.  For starters, I disagree that "wrap-and-sort -a" is a suitable 
normalization, as that will involve re-indentation when keys change.  
Instead, I propose this as starting point:

  wrap-and-sort -ast


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: