Re: pep8 Re: Posting warning message

2018-06-14 Thread Cameron Simpson
On 14Jun2018 02:35, Tamara Berger wrote: On Thu, Jun 14, 2018 at 1:49 AM Cameron Simpson wrote: Just as you can run your code before you install it, you can lint your code beforehand also. In fact, you should be doing both: run and test the code _before_ installing it, and also lint it (when

Re: pep8 Re: Posting warning message

2018-06-14 Thread Tamara Berger
On Thu, Jun 14, 2018 at 1:49 AM Cameron Simpson wrote: > Just as you can run your code before you install it, you can lint your code > beforehand also. In fact, you should be doing both: run and test the code > _before_ installing it, and also lint it (when you care) and test again > (because if

Re: pep8 Re: Posting warning message

2018-06-13 Thread Cameron Simpson
On 14Jun2018 01:34, Tamara Berger wrote: Is it possible to do the "linting" after you've written your code but before you install it for the first time? Sure. I always do it that way. Just as you can run your code before you install it, you can lint your code beforehand also. In fact, you

Re: pep8 Re: Posting warning message

2018-06-13 Thread Tamara Berger
Is it possible to do the "linting" after you've written your code but before you install it for the first time? Tamara On Wed, Jun 13, 2018 at 12:30 AM Cameron Simpson wrote: > > On 13Jun2018 00:05, Tamara Berger wrote: > >Thanks for the in-depth answer. I'm going to have to read it >

Re: pep8 Re: Posting warning message

2018-06-12 Thread Cameron Simpson
On 13Jun2018 00:05, Tamara Berger wrote: Thanks for the in-depth answer. I'm going to have to read it carefully, with the help of a Python glossary. Some of the terms you use are new to me. No worries. Just ask if you don't find definitions. BTW, a "lint" program, or "linter" is a program

Re: pep8 Re: Posting warning message

2018-06-12 Thread Tamara Berger
Hi Cameron, Thanks for the in-depth answer. I'm going to have to read it carefully, with the help of a Python glossary. Some of the terms you use are new to me. >or am I supposed to root around for my module and make the edits one by one? I was trying to be amusing and didn't get my point

Re: pep8 Re: Posting warning message

2018-06-12 Thread Chris Angelico
On Wed, Jun 13, 2018 at 10:46 AM, Gregory Ewing wrote: > Cameron Simpson wrote: >> >> PEP8 is a style recommendation for Python code: >> >> https://www.python.org/dev/peps/pep-0008/ > > > Specifically, it's a style guide for *code in the Python > standard library*, as it says in the

Re: pep8 Re: Posting warning message

2018-06-12 Thread Gregory Ewing
Cameron Simpson wrote: PEP8 is a style recommendation for Python code: https://www.python.org/dev/peps/pep-0008/ Specifically, it's a style guide for *code in the Python standard library*, as it says in the Introduction: This document gives coding conventions for the Python code comprising