PyCon 2016 Lightning Talk - State of the pep8 -> pycodestyle transition.
YouTube video: https://youtu.be/PulzIT8KYLk?t=36m
pep8 vs PEP-8Ian Lee@IanLee1521
View Slide
The Setup…
Define Your TermsPEP-0008 aka PEP-8 (document)vspep8 (tool)
Define Your TermsPEP = Python Enhancement Proposal
Why am I?Leave everything better than you found it…
Who am I?Lawrence Livermore National Laboratorygithub.com/llnl — software.llnl.gov@LLNL_OpenSource
Who am I?• Maintainer: pep8• Contributor: fastkml, pygeoif• Editor (?): benbalter.github.com
Quick Tangent…benbalter.github.com
Who am I?• Maintainer: pep8• Contributor: fastkml, pygeoif• Editor (?): benbalter.github.com• One micro project: find-duplicates
Who am I?
Who am I?Scuba Diver
Who am I?Rock Climber
Who am I?Blues Dancer
Who am I?Love / hate relationship with technology…
Philmont April 2016
History*as I understand it
First Commit of PEP-8
PEPs are *not* static• 118 commits since 2001• https://hg.python.org/peps/log/tip/pep-0008.txt?revcount=256
pep8• Original Author: Johann C. Rocholl (@jcrocholl)• First commit: October 1, 2006• PEP-8 had already changed 34 times
pep8• Maintainer: Florent Xicluna (@florentx)• October 2009 - May 2014 + December 2014• PEP-8 changed another 51 times
pep8And now my turn…
pep8• December 2014 - Present• PEP-8 changed another 20 times• Total downloads > 17m
PyCQA .pycodestyle (pep8)astroidbaronflake8mccabepydocstyle (pep257)redbaronflake8-docstringsmccabe-console-scriptpep8-naming
And then…
GitHub #466
pep8 -> pycodestyle
Hurdles…
ReadTheDocs
PyPI
Downstream
Progress to date…
pep8 == 1.7.1Coming soon
pycodestyle == 2.0
#PyCon2016 SprintThursday Only
Government Open SpaceTomorrow Morning / 10:00 / Room == TBA
Thank You!@IanLee1521