Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.036 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'exception': 0.03; 'warnings': 0.03; '"if': 0.09; '(like': 0.15; 'macro': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'jan': 0.18; 'fairly': 0.21; 'disable': 0.22; 'names.': 0.22; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'functions.': 0.27; 'message-id:@mail.gmail.com': 0.27; 'options': 0.27; 'chris': 0.28; 'about.': 0.29; 'complain': 0.29; 'enforce': 0.29; 'style.': 0.29; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'but': 0.36; 'too': 0.36; 'does': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'things': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'subject:, ': 0.61; 'subject:...': 0.63; 'business.': 0.82; '2013': 0.84; 'to:name:python': 0.84; 'why?': 0.84; 'subject:very': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=wLlXyo5rtZvFGMn/4D0cnqw5Z5etzBlMyaIp98h/9oo=; b=YzqMOXrcHsjLMX4JZIjAzwbj5baiuEcAya+ElqxEAhZEBpRCJkbkPlKPFlFQk4wRZi OM94k+Sy4LMujTKeaYpHWNJoLkUEvTq7eFXZWvvP9lIm//4b5qaENKsdOsUy/IShlnDl egC4b49XCJAjV19rApMBzpVz9IxVpDA1MAMNmuMqkZRyy7liaEayTcOjTo8CxUU5eOuD 8smGrFxv4sisXk4+ULViRVwfKfMSgSpPgD3U1147dAzRUZf/81WrkH2Pp1/k7JNhqxZQ o0Bx8zdhLxxLqATbvp5iwc85HEzrWsJ2R3OrQ4tCgOr6nTNv6jWBb8DINXgTJcZatzIv Qz+Q== MIME-Version: 1.0 In-Reply-To: References: From: Ian Kelly Date: Wed, 2 Jan 2013 10:52:11 -0700 Subject: Re: pylint, was Re: pygame - importing GL - very bad... To: Python Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1357149171 news.xs4all.nl 6870 [2001:888:2000:d::a6]:38134 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:36001 On Wed, Jan 2, 2013 at 7:32 AM, Chris Angelico wrote: > Okay, I have to ask... why? Does it have an exception for names of classes? Yes, and for module-level functions. > I don't like linters that enforce too much style. Catch things that > might be mis-coded (like C's classic "if (x = 1)"), but don't complain > about my names. They're MY business. pylint is configurable though, so you can disable any warnings you don't care about. My pylint macro has a fairly large number of -d options in it.