Python PEP8 online checker
Gary E. Miller
gem at rellim.com
Sat Aug 18 20:16:48 UTC 2018
Yo MIKE!
On Sat, 18 Aug 2018 18:55:16 +0000 (UTC)
MIKE MAJOR via devel <devel at ntpsec.org> wrote:
> Gary, you mentioned in a MR comment that there were a lot
> of PEP8 errors in the pinup script.
Yup.
> I looked up PEP8 and see that it is a style guide for Python.
Yup.
> Since I don't know PEP8 really at all, I
> found a online compliance checker.
Gack, too much work. get a local one:
# pip install pycodestyle
The to check:
# pycodestyle ntpq.py
> Clockmaker is littered with (~80) errors.
Yup. gpsd is PEP8 clean, but NTPsec has a way to go.
> Is using an online checker recommend ?
Not by me. Looks like a PITA.
Using pycodestyle locally I can vi in one terminal and test in another.
You can knock off errors very quickly.
> Is this one as good as any other?
No way to tell. I clearly has not options yoiu can change.
> I thought I would work on the clockmaker script regarding PEP8. That
> would be a first step to integrating the pinup functionality into
> clockmaker.
That would be nice. pinup needs a lot of work.
> In fact, I just submitted a MR because the Pi 3B+ H/W is
> in pinup but not in clockmaker.
What is the issue? Seems to me the Pi 3B+ should work fine?
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem at rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20180818/108fb81c/attachment.bin>
More information about the devel
mailing list