Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #3315

Vulture 1.3

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Jendrik Seipp <jendrikseipp@gmail.com>
Newsgroups comp.lang.python.announce
Subject Vulture 1.3
Date Mon, 3 Feb 2020 13:02:35 +0100
Lines 38
Approved python-announce-list@python.org
Message-ID <485c3674-a2e5-eb03-9f9b-ab331d6fabbb@gmail.com> (permalink)
Reply-To python-list@python.org
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de CDdqgIHd6gyNyuWwglrTVwbprkeSFQVckxOnijayGYMA==
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'url-ip:140.82.118/24': 0.02; 'url-ip:140.82/16': 0.02; 'library': 0.02; "python's": 0.05; 'tests': 0.05; 'url:pypi': 0.07; 'url-ip:140/8': 0.07; 'code.': 0.09; '2.7': 0.09; 'coverage': 0.09; 'static': 0.09; 'url:github': 0.09; 'python': 0.14; 'output': 0.14; '====': 0.16; 'blocks.': 0.16; 'redundant': 0.16; 'skip:` 10': 0.16; 'skip:` 20': 0.16; 'syntax': 0.18; 'classes': 0.21; 'code': 0.24; 'programs.': 0.24; 'size': 0.24; 'uses': 0.24; 'message-id:@gmail.com': 0.28; 'header :User-Agent:1': 0.28; 'to:addr:python-announce-list': 0.30; 'url- ip:151.101.36.223/32': 0.30; 'url-ip:151.101.36/24': 0.30; 'functions': 0.31; 'run': 0.32; 'likely': 0.33; 'received:google.com': 0.34; 'useful': 0.34; 'some': 0.35; 'download': 0.35; 'from:addr:gmail.com': 0.36; 'test': 0.37; 'url- ip:151.101/16': 0.37; 'dynamic': 0.37; 'itself': 0.37; 'called': 0.38; 'cleaning': 0.38; 'whitelist': 0.38; 'url-ip:151/8': 0.38; 'url:python': 0.39; 'also,': 0.39; 'same': 0.40; 'both': 0.40; 'suite': 0.61; 'your': 0.63; 'complete': 0.67; 'quality.': 0.67; 'received:mail-lf1-x12d.google.com': 0.67; 'sorts': 0.67; 'news': 0.69; 'finds': 0.72; 'dead': 0.75; 'supports': 0.75; 'received:193': 0.79; 'miss': 0.83; 'conditions': 0.85; 'cheers': 0.91; 'nature,': 0.91; 'unused': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=eYzG8nEJQRpzMfkJ8WXRALSR9wX9OSBuucoynU3VP3I=; b=Bgu04UjsMlhWgya85hBIztzi1s3WSHWpthZTdlL+sQ/9dYqxSX/jSvzLl7yC2baFd3 unQ17Sgw+WIf4yzqA6PWur1GlXIeQFsRVFq4P7I8f8L6IMHK5eLXdC+EeBurIIm0ZNUb 7Eb2mJy0tLet1TcQcjMhVRmaE1o0jAGavuDkZ9XAUU0LstZk/S6ieTHW7nAvQbb05uMJ c396cAP0ZniHeH9/nsdnjCOSEL/QSSzkffIscV4t4LB0g8huontm5YcPNIJZoVenrlbE l02YsbLrQb+rvnFsUOFDad1gImNNcQ+1qHPEHAAukckJV25CK8+ECdOOFQW9IR95/PiC g2Ww==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=eYzG8nEJQRpzMfkJ8WXRALSR9wX9OSBuucoynU3VP3I=; b=DFJVKqzPhDdhZugPXwj7wcb2lQ2xij8wGRU7qf3NHB8Ui9EPu5phpau2IWPEIwSI7L Juf39QFr26LsccAfAr2rFgrQiiW2gWDSHPJ86mK9Ktk5mo5kRMVL9pKCe5y4psXa/nRs VvdZENMHA451xgtS8XAoMXJ0M5CXffz1udJbkxziltTZ3LRHR4W7Yy9/qsaQJJ2D8kF6 8zRGMu/urLDIsYHVrn0oRE1jTIAGVemulwfGvUAbs9cRqEFAQQI3tZh/9gEJLN1ehcor H1/k+Mtf3rQEyDV9ZrE+B6Yg1qV4saWgItczO8lJWEPUg4iWFK1urQbLHWhEfTv8BDnL fGRg==
X-Gm-Message-State APjAAAUFlqNYD024raV8WupoSqH3Xq4poOi+6pCK4v1ow/R12QVb8NOI X/k/hqQ2PIm6v+Dy/f+3K+BEB9dCXaQn0g==
X-Google-Smtp-Source APXvYqyJ4h3kLK5koE8ftpFo5QvPbCkv2rLcLuRUjuTHUakP4DIuVw8rAnR/HS72PwxgZePkwk9wMA==
X-Received by 2002:ac2:46fb:: with SMTP id q27mr11912013lfo.76.1580731357466; Mon, 03 Feb 2020 04:02:37 -0800 (PST)
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
Content-Language en-US
X-MailFrom jendrikseipp@gmail.com
X-Mailman-Rule-Hits emergency
X-Mailman-Rule-Misses dmarc-mitigation; no-senders; approved
Message-ID-Hash 6SGNVI463ABA7WTKPBTREN37SUIGF4NQ
X-Message-ID-Hash 6SGNVI463ABA7WTKPBTREN37SUIGF4NQ
X-Mailman-Approved-At Mon, 03 Feb 2020 08:02:30 -0500
X-Mailman-Version 3.3.1
Precedence list
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
Archived-At <https://mail.python.org/archives/list/python-announce-list@python.org/message/6SGNVI463ABA7WTKPBTREN37SUIGF4NQ/>
List-Archive <https://mail.python.org/archives/list/python-announce-list@python.org/>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Post <mailto:python-announce-list@python.org>
List-Subscribe <mailto:python-announce-list-join@python.org>
List-Unsubscribe <mailto:python-announce-list-leave@python.org>
Xref csiph.com comp.lang.python.announce:3315

Show key headers only | View raw


Vulture - Find dead code
========================

Vulture finds unused code in Python programs. This is useful for
cleaning up and finding errors in large code bases. If you run Vulture
on both your library and test suite you can find untested code.

Due to Python's dynamic nature, static code analyzers like Vulture are
likely to miss some dead code. Also, code that is only called
implicitly may be reported as unused. Nonetheless, Vulture can be a
very helpful tool for higher code quality.


Download
========
https://github.com/jendrikseipp/vulture
http://pypi.python.org/pypi/vulture


Features
========
* fast: uses static code analysis
* tested: tests itself and has complete test coverage
* complements pyflakes and has the same output syntax
* sorts unused classes and functions by size with ``--sort-by-size``
* supports Python 2.7 and Python 3.5+


News
====
* Detect redundant 'if' conditions without 'else' blocks.
* Add whitelist for ``string.Formatter`` (Joseph Bylund, #183).


Cheers
Jendrik

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

Vulture 1.3 Jendrik Seipp <jendrikseipp@gmail.com> - 2020-02-03 13:02 +0100

csiph-web