[chirp_devel] [PATCH 04/12] Add pep8 checker script (#2355)
Dan Smith
Fri Feb 27 15:53:53 PST 2015
> # Fake Node ID 3db4f1501a5afde03ce0fbfd6d3b45d54bee5818
Thanks for this.
> +import pep8
I think this is the better way. Unfortunately, it does require a newer
version of pep8 than people might have on their systems.
> +checker = pep8.StyleGuide(quiet=args.stats)
Fails for me here, with StyleGuide have been missing from the pep8 0.6.1
I had on my system. You might just put a try...except around this and
print a helpful message about why. Maybe around the import line as well
for people (like windows folk) that won't have *anything* on their
systems unless they add it.
--Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20150227/7a12c4ea/attachment-0001.bin
More information about the chirp_devel
mailing list