Re: [code-quality] Not Seeing PEP8 Formatting Errors

2015-07-26 Thread Rich Shepard
On Sun, 26 Jul 2015, Ian Cordasco wrote: Note that pep8 disallows spaces around keyword arguments, you have value = 'Environmental' When pep8 wants value='Environmental' Spaces around an = is for assignment, not for keyword arguments. Ian, Mea culpa! Thought I had fixed all these. T

Re: [code-quality] Not Seeing PEP8 Formatting Errors

2015-07-26 Thread Ian Cordasco
On Sun, Jul 26, 2015 at 12:39 PM, Rich Shepard wrote: > On Sun, 26 Jul 2015, Ian Cordasco wrote: > >>> So that would be formatted like so: >>> https://gist.github.com/sigmavirus24/67268ec32d614dffbcd1 > > > Ex2.py has this formatting: > > category = Column( > Unicode(16), value='Environmenta

Re: [code-quality] Not Seeing PEP8 Formatting Errors

2015-07-26 Thread Rich Shepard
On Sun, 26 Jul 2015, Ian Cordasco wrote: So that would be formatted like so: https://gist.github.com/sigmavirus24/67268ec32d614dffbcd1 Ex2.py has this formatting: category = Column( Unicode(16), value='Environmental', nullable=False, CheckConstraint( "category IN('Air', 'Env

Re: [code-quality] Not Seeing PEP8 Formatting Errors

2015-07-26 Thread Ian Cordasco
On Sun, Jul 26, 2015 at 11:37 AM, Ian Cordasco wrote: > On Sun, Jul 26, 2015 at 10:58 AM, Rich Shepard > wrote: >> I've numbered the lines in this code fragment: >> >> 83 category = Column(Unicode(16), value = 'Environmental', nullable = >> False, >> 84 CheckConstraint( >

Re: [code-quality] Not Seeing PEP8 Formatting Errors

2015-07-26 Thread Ian Cordasco
On Sun, Jul 26, 2015 at 10:58 AM, Rich Shepard wrote: > I've numbered the lines in this code fragment: > > 83 category = Column(Unicode(16), value = 'Environmental', nullable = > False, > 84 CheckConstraint( > 84 "category IN('Air', 'Environmental', 'Health', 'Safety'

Re: [code-quality] Not Seeing PEP8 Formatting Errors

2015-07-26 Thread Rich Shepard
On Sun, 26 Jul 2015, Rich Shepard wrote: 84 CheckConstraint( 84 "category IN('Air', 'Environmental', 'Health', 'Safety', Typo: Should be 84 and 85. Time for more coffee. Rich ___ code-quality mailing list code-quality@py

[code-quality] Not Seeing PEP8 Formatting Errors

2015-07-26 Thread Rich Shepard
I've numbered the lines in this code fragment: 83 category = Column(Unicode(16), value = 'Environmental', nullable = False, 84 CheckConstraint( 84 "category IN('Air', 'Environmental', 'Health', 'Safety', 'Occupancy', 86 'Water'")) flake8 has these errors: