Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Sylvain =?utf-8?B?VGjDqW5hdWx0?= Newsgroups: comp.lang.python Subject: Re: [Pylint-dev] Pylint 1.5.0 / Astroid 1.4.1 released Date: Tue, 1 Dec 2015 10:08:18 +0100 Lines: 50 Sender: sylvain.thenault@logilab.fr Message-ID: References: Reply-To: Sylvain =?utf-8?B?VGjDqW5hdWx0?= Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de yjRR+uIJM526Jmc3fcXN9g7qbfpUp2EZ0Bag0BSL2Qqg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'python,': 0.02; 'subject:: [': 0.03; 'constructor': 0.07; 'params': 0.07; 'semantic': 0.07; 'subject:released': 0.07; 'cc:addr:python-list': 0.09; 'optional': 0.09; 'skip:` 30': 0.09; 'bug': 0.10; 'committers': 0.16; 'contributors': 0.16; 'emit': 0.16; 'excellent!': 0.16; 'fixes.': 0.16; 'logiciel': 0.16; 'naming': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'release:': 0.16; 'renamed': 0.16; 'subject:dev': 0.16; 'wrote:': 0.16; 'documented': 0.18; 'subject:] ': 0.19; 'changes': 0.20; 'cc:addr:python.org': 0.20; 'cc:2**2': 0.20; 'extension': 0.20; 'function,': 0.22; 'code,': 0.23; 'properties': 0.24; 'written': 0.24; 'header:In-Reply-To:1': 0.24; 'skip:- 40': 0.25; 'header:User-Agent:1': 0.26; 'checking': 0.27; 'parameters': 0.27; "i'm": 0.30; 'work.': 0.30; 'checks': 0.30; 'core': 0.32; 'announce': 0.32; 'joined': 0.33; "skip:' 20": 0.34; 'could': 0.35; 'activate': 0.35; 'i.e.': 0.35; 'received:172.19': 0.35; 'there': 0.36; 'url:org': 0.36; 'possible.': 0.36; 'cases': 0.36; 'method': 0.37; 'missing': 0.37; 'signature': 0.37; 'release': 0.37; 'subject:-': 0.39; 'where': 0.40; 'hello,': 0.40; 'some': 0.40; 'subject: / ': 0.63; 'between': 0.65; 'here': 0.66; 'header:Reply-To:1': 0.67; 'received:109': 0.75; 'activated': 0.84; 'checker': 0.84; 'occasion': 0.84; 'respectively': 0.84; 'signature.': 0.84; 'thanking': 0.84; 'cc:no real name:2**2': 0.91; 'reply- to:charset:utf-8': 0.93; 'sur': 0.96; 'url:fr': 0.96 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tucana.logilab.priv X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=RDNS_NONE autolearn=disabled version=3.3.2 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Mailman-Approved-At: Tue, 01 Dec 2015 04:31:26 -0500 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:99781 On 01 décembre 01:42, Claudiu Popa wrote: > Hello, Hi Claudiu, > I'm happy to announce you the release of Pylint 1.5.0, > respectively Astroid 1.4.1. > > It's been over a year since the last major release > and the amount of changes that were brought into pylint > in this time is humongous, with over 30 new checks > and tons of bug fixes. > > I would like to use this occasion for thanking for their contributions > the new committers who joined pylint's team in the past months, > ceridwen and Dmitry, as well as thanking the > contributors that made this release possible. Excellent! Congrat to this new core team which have realized a tremendous amount of work. > Here are some of the major changes of this release: [...] > - We also added a new 'extensions' component, which contains optional > checkers that needs to be activated explicitly. > > These includes 'extensions.check_docs', which verifies a bunch of > properties of the docstrings, such as checking that all function, > method and constructor parameters are mentioned > in the params and types part of the docstring. Also, it checks that > there are no naming inconsistencies between the signature and > the documentation, i.e. also report documented parameters that are missing > in the signature. This is important to find cases where parameters are > renamed only in the code, not in the documentation. > > Activate this checker with: > > --load-plugins=pylint.extensions.check_docs To be fair, there is also `pylint.extensions.check_elif` extension that emit message for 'else: if ' that could be written in 'elif ' Regards, -- 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