Re: Idiomatic code validator?

2016-09-20 Thread Tim Johnson
* Steve D'Aprano [160920 16:29]: > On Wed, 21 Sep 2016 01:41 am, Tim Johnson wrote: > > > Not to confuse idiomatic code validation with pep8 validation (I use > > elpy on emacs) > > > > Is there such a thing as a validator for _idiomatic_ code? > > > Yes, it is called a linter. There are vario

Re: Idiomatic code validator?

2016-09-20 Thread Tim Johnson
* Steve D'Aprano [160920 16:29]: > On Wed, 21 Sep 2016 01:41 am, Tim Johnson wrote: > > > Not to confuse idiomatic code validation with pep8 validation (I use > > elpy on emacs) > > > > Is there such a thing as a validator for _idiomatic_ code? > > > Yes, it is called a linter. There are vario

Re: Idiomatic code validator?

2016-09-20 Thread Steve D'Aprano
On Wed, 21 Sep 2016 01:41 am, Tim Johnson wrote: > Not to confuse idiomatic code validation with pep8 validation (I use > elpy on emacs) > > Is there such a thing as a validator for _idiomatic_ code? Yes, it is called a linter. There are various linters available: pylint, pychecker, jedi, flak

Re: Idiomatic code validator?

2016-09-20 Thread Tim Johnson
* Terry Reedy [160920 11:48]: > On 9/20/2016 11:41 AM, Tim Johnson wrote: > > Not to confuse idiomatic code validation with pep8 validation > > Strictly speaking, there cannot be a mechanical PEP 8 validator, as any > mechanical checker violates the admonitions of the beginning sections > 'Introd

Re: Idiomatic code validator?

2016-09-20 Thread Terry Reedy
On 9/20/2016 11:41 AM, Tim Johnson wrote: Not to confuse idiomatic code validation with pep8 validation Strictly speaking, there cannot be a mechanical PEP 8 validator, as any mechanical checker violates the admonitions of the beginning sections 'Introductions' and 'A Foolish Consistency is t

Idiomatic code validator?

2016-09-20 Thread Tim Johnson
Not to confuse idiomatic code validation with pep8 validation (I use elpy on emacs) Is there such a thing as a validator for _idiomatic_ code? I have Knupp's "Writing Idiomatic Python" and have bookmarked some advisory websites that illustrate idiomatic style. thanks -- Tim http://www.akwebsof