Code-convention checker and possibly reformatter

D

Diez B. Roggisch

Hi,

my new company requires me to adhere to some coding conventions - order of
imports, amount of whitespace between method definitions and such stuff.

Because I'm a lazy a**, I'd like to have some automatic checker that will
ensure that I'm following the conventions.

Now I know & use pylint - but the docs are sparse, and so I wonder if and
how one writes plugins for it.

Of course I also dabbled with tokenize and compiler - but those two either
are to lowlevel or already to abstract (the former forces me to re-create
trees on my own, the latter throws away to much data, e.g. comments and
whitespace)

So - any suggestions how to proceed?

Diez
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top