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
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
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
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(
>
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'
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
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: