Is using /root/.pylintrc (if pylint is run as root) unexpected "magic"? Most other tools, that I know of, will read in configuration files for root (including any likely editor).
I'm happy to provide a patch either for "comment" or "fix", depending on consensus. My gut reaction is we should remove this special case handling for root. -Alex On Fri, Apr 5, 2013 at 1:24 PM, Sylvain Thénault < [email protected]> wrote: > On 05 avril 12:18, Jürgen Hermann wrote: > > Hi, very likely for the same reason root has no ~/bin by default, with > the implied goal of reducing "magic" injections into root's environment > (and thus reduce any possible attack vectors for code injection or similar > surprises). > > > > In human terms "if root decided to be in a project dir with a local > .pylintrc, provide that, but don't inject a global one just anywhere". > > Right. In which case a patch adding a comment and explaining this > in the doc would probably be better. > -- > Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse > (05.62.17.16.42) > Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations > Développement logiciel sur mesure: http://www.logilab.fr/services > CubicWeb, the semantic web framework: http://www.cubicweb.org > -- Alex Davies This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender immediately by e-mail and delete this e-mail permanently.
_______________________________________________ Python-Projects mailing list [email protected] http://lists.logilab.org/mailman/listinfo/python-projects
