[Python-projects] Ignore Entire File

Sylvain Thénault sylvain.thenault at logilab.fr
Thu Aug 17 16:22:46 CEST 2006


On Thursday 17 August à 14:52, Neil Benn wrote:
> <snip>
> >>e with app specific stuff.  
> >>    
> >
> >so why don't you simply specify this file using the --ignore option on the 
> >command line ?
> >
> >  
> Hello,
> 
>          The main reason for this is that I have a lot of these files 
> (5 per webservice) and maintaining the command line and then 
> communicating this command line to various people when they import the 
> code in eclipse means that there is an extra thing to maintain.  Whereas 
> if I can simply put a 'don't check me' comment at the top of the file 
> the person who imports the project to eclipse will simply have this file 
> ignored.
> 
>    Basically I'm trying to minimise as many things as possible.

so the best thing for you is probably to have a pylintrc file specific to your project, and use 
it using pylint's --rc-file option

-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Python et calcul scientifique:           http://www.logilab.fr/science



More information about the Python-Projects mailing list