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


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

Vulture 1.1

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.1
Date Mon, 23 Sep 2019 21:51:01 +0200
Lines 40
Approved python-announce-list@python.org
Message-ID <14e590ac-34f2-fd19-e4d6-d73835de9867@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 VcczlwyFdLQ067lVa53HxALRLbYPq4kflI9zlvGsX4sg==
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'url:github': 0.03; 'module.': 0.07; 'received:192.168.178': 0.07; 'skip:` 10': 0.07; 'url:pypi': 0.07; 'ignored': 0.09; 'parsed': 0.09; 'url- ip:192.30/16': 0.09; 'python': 0.14; 'code.': 0.15; '(thanks': 0.16; '====': 0.16; '``sys``': 0.16; 'annotations': 0.16; 'library': 0.18; 'syntax': 0.20; 'url-ip:151.101.0.223/32': 0.21; 'url-ip:151.101.128.223/32': 0.21; 'url-ip:151.101.192.223/32': 0.21; 'url-ip:151.101.64.223/32': 0.21; '2.7': 0.23; 'functions': 0.24; 'tests': 0.25; 'classes': 0.26; 'message-id:@gmail.com': 0.26; 'url-ip:151.101.192/24': 0.26; 'url-ip:151.101.0/24': 0.27; 'url-ip:151.101.128/24': 0.27; 'url-ip:151.101.64/24': 0.27; 'header:User-Agent:1': 0.28; 'cleaning': 0.29; "python's": 0.29; 'to:addr:python-announce-list': 0.29; 'url-ip:151.101/16': 0.31; 'url-ip:151/8': 0.31; 'cheers': 0.32; 'dynamic': 0.33; 'test': 0.35; 'received:google.com': 0.35; 'code': 0.35; 'received:192.168': 0.35; 'files': 0.36; 'static': 0.37; 'run': 0.37; 'helpful': 0.38; 'received:192': 0.39; 'output': 0.39; 'due': 0.60; 'tool': 0.60; 'your': 0.62; 'features': 0.66; 'sorts': 0.66; 'complete': 0.67; 'dead': 0.67; 'reported': 0.67; 'higher': 0.70; 'analysis': 0.75; 'finds': 0.82; 'miss': 0.83; 'bases.': 0.84; 'whitelist.': 0.84; 'quality.': 0.91; 'whitelist': 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=oOFUN8SlXauRqJzQ5cEUnLd9ufamqhtGUH5Tc9OGUXE=; b=ftFeXRR56uyuImYR3uCSbQxFg5pZAgoehmZ9MXlmaak2V1+L7P3oCXjAbGYJx2aXb6 ZEkTs4D7esee3eijmqwpjTQ17R9t48bxsKJHsdbkHem3d6Op4zIsmn8mYmeknU7+Bxki vtb6/OrJptpXYRDb1f10M+fHP/24Wy0dYYmneDqN+4ccP8FPLeoOYaoNIuHj9i5lCvY9 7JDVyMpcv7rrUUc69HjMr9cxxjGxMz7eFZENbcx+1lDuJoQ3Yg7v4M5PfS6a8CdzrBcN ypPo62uaFGyu3iCuAjtzrF8ohrXi4wvoTQz4meAbRJjs+nDz0xHSxjmjeXzu8wa2Lgzf UdPw==
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=oOFUN8SlXauRqJzQ5cEUnLd9ufamqhtGUH5Tc9OGUXE=; b=LX2tBRhaYt0F2HgwW6hoZ/cJtAZ1DMBm8fGvETp2vZOpgfSm3AXysP0COBDk3769Gk ncoWYdOECS3AFDhwKYt55cUNseBsTjb8tjvZDewiWT+Qwj9PA6O7XXoO3WNL1Iy2eIzf sixp4GHKvgTGUPghGnwaQAtPNyADMyL8s7lghbkRNeBBej5wVWw4dFP1Is1/O4jewlf2 Pzt7L94EcEuVe9sheko8QmNCD9LXPrJHSZo3U8a2qi09klwk7mSF7tRe7NYVCKRoahS3 J9vZQk3d1Jj8D16v8DbknqlkM0Rst9xPAxkuBNcVST/oteVmFwiporqGqIc42YndnVqj VJ2A==
X-Gm-Message-State APjAAAVKkQlVqCyXtj7iQbHuzpJEM5aGiM3vsinxsLphlKRZojWuebEj UWwiR3j3I5xofrS4/j/gCYvfYy+t
X-Google-Smtp-Source APXvYqx1KHlz2z1wsVOjbK0nIFqcUoJf6JBvsIXEzupj4MWfDdO51gu952YoAgtdAEW1XSoBH7x1dQ==
X-Received by 2002:a17:906:5948:: with SMTP id g8mr1336350ejr.246.1569268263262; Mon, 23 Sep 2019 12:51:03 -0700 (PDT)
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
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 PHSYJUGRFBKL62G33O2VGDTLHMXEGCR2
X-Message-ID-Hash PHSYJUGRFBKL62G33O2VGDTLHMXEGCR2
X-Mailman-Approved-At Mon, 23 Sep 2019 17:20:30 -0400
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/PHSYJUGRFBKL62G33O2VGDTLHMXEGCR2/>
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:3199

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
====
* Add ``sys.excepthook`` to ``sys`` whitelist.
* Add whitelist for ``ctypes`` module.
* Check that type annotations are parsed and type comments are ignored 
(thanks @kx-chen).
* Support checking files with BOM under Python 2.7 (#170).


Cheers
Jendrik

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


Thread

Vulture 1.1 Jendrik Seipp <jendrikseipp@gmail.com> - 2019-09-23 21:51 +0200

csiph-web