launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #07359
Re: RFC: change from using lint to using a pretty printer
-
To:
launchpad-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Aaron Bentley <aaron@xxxxxxxxxxxxx>
-
Date:
Tue, 14 Jun 2011 15:03:51 -0400
-
In-reply-to:
<BANLkTikHi748ceh3z5Qk2NY2pBGs=K=f4g@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Thunderbird/3.1.10
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11-06-14 01:02 PM, Martin Pool wrote:
> It seems to me there is O(n*m) behaviour in Launchpad by having lint
> warnings mentioned in every review but never actually fixed.
It may seem that way, but I think we're actually doing quite well. Of
2113 python files in lib/lp, 1361 are entirely lint-free. People do fix
them. We could probably do better, though.
Aaron
P.S. I gathered those figures with:
for x in $(find -regex './lib/lp/.*.py'); do
if bin/lint.sh $x>/dev/null; then
echo $x
fi
done
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk33sJcACgkQ0F+nu1YWqI05IwCeLjW4dVbUeUO9YwbBilfX9jnB
a/QAmwaY87YYLnBwQJKNeB0byLAEhC71
=bhLV
-----END PGP SIGNATURE-----
References