[code-quality] Questions: Flake8-2.4.1

2015-07-25 Thread Rich Shepard
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) and now

Re: [code-quality] Questions: Flake8-2.4.1

2015-07-25 Thread Rich Shepard
On Sat, 25 Jul 2015, Ian Cordasco wrote: Could you provide a bit more context for the code? A single line and an error message aren't very useful for me to reproduce with. Ian, This is interesting. I shut down emacs for a couple of hours. Just invoked it and loaded the source file. Running

[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:

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 _

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 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

[code-quality] Pyreverse on multiple modules

2018-05-14 Thread Rich Shepard
Pylint-1.7.1 is installed here and runs with python-3.6.5. I have a directory with 5 modules (not my project) and I want to understand the logic using pyreverse. It's not working for me and the pyreverse web page hasn't helped me learn how to use it successfully. The directory contains these

Re: [code-quality] Pylint website down

2018-05-30 Thread Rich Shepard
On Thu, 31 May 2018, Jan Claeys wrote: Looks like the domain didn't get renewed: $ whois pylint.org Domain Name: PYLINT.ORG Registry Domain ID: D165693465-LROR Registrar WHOIS Server: whois.gandi.net Registrar URL: http://www.gandi.net Updated Date: 2018-05-30T12:17:21Z Creation Date:

Re: [code-quality] Pylint website down

2018-05-30 Thread Rich Shepard
From: Nicolas Chauvat To: Rich Shepard Cc: [email protected] Subject: Re: Using pylint/pyreverse with Python3 Hi, On Sun, May 13, 2018 at 09:50:29AM -0700, Rich Shepard wrote: Here, both python-3.6.5 and pylint-1.7.1 are installed. When I try to run pyreverse on python3 code it finds onl