![](https://secure.gravatar.com/avatar/351a10f392414345ed67a05e986dc4dd.jpg?s=120&d=mm&r=g)
assignment `=` should be have spaces. keyword argument `=` should not have spaces (except case of function annotation in definition). So On Sun, Jul 26, 2015 at 1:36 AM, Rich Shepard <rshepard@appl-ecosys.com> wrote:
Just installed flake8-2.4.1. Checking a file generates this error:
pwschemasl.py:698:39: E225 missing whitespace around operator
on this line:
rpt_filename=Column(BLOB, nullable=False)
where position 39 is 'F'. So, I add the space:
rpt_filename=Column(BLOB, nullable= False)
This should be: rpt_filename = Column(BLOB, nullable=False)
and now flake8 shows this error:
pwschemasl.py:698:40: E251 unexpected spaces around keyword / parameter equals
This is an infinite loop that affects many lines of code in the file. The lines throw a PEP8 compliance error both with and without a space following the '=' sign.
Is there something I've done incorrectly that I don't see?
Puzzled,
Rich _______________________________________________ code-quality mailing list code-quality@python.org https://mail.python.org/mailman/listinfo/code-quality
-- INADA Naoki <songofacandy@gmail.com>