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


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

[Python-announce] Vulture 2.14

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Jendrik Seipp <jendrikseipp@gmail.com>
Newsgroups comp.lang.python.announce
Subject [Python-announce] Vulture 2.14
Date Sun, 8 Dec 2024 18:41:45 +0100
Lines 51
Approved python-announce-list@python.org
Message-ID <0940d45c-61d1-4346-aa93-9663f6759aba@gmail.com> (permalink)
Reply-To python-list@python.org
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de rZGJgaYP1ZdehyFgPnB2XQJ45UXfZPNHZLIRJso6Eq0g==
Cancel-Lock sha1:IC91QAgL9IHXSFgaCMhOQC8ye4o= sha256:Iv0iDuj6L2cML6+BMJFVzu8WkxCdCOaJsurdBFoz+Uk=
Delivered-To python-announce-list@x.python.org
Authentication-Results mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=gmail.com header.i=@gmail.com header.b=BGiIxeC/; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status OK 0.027
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; "python's": 0.05; 'tests': 0.07; 'received:mail-lf1-x134.google.com': 0.09; 'skip:` 10': 0.09; 'to:addr:python-announce-list': 0.09; 'cheers,': 0.11; 'url- ip:140/8': 0.14; 'syntax': 0.15; '====': 0.16; 'hints': 0.16; 'static': 0.16; 'url:pypi': 0.16; 'python': 0.16; 'url- ip:140.82.121.4/32': 0.17; 'url-ip:140.82.121/24': 0.17; 'url- ip:140.82/16': 0.17; 'message-id:@gmail.com': 0.18; 'code.': 0.19; 'uses': 0.19; 'url:github': 0.23; 'run': 0.23; 'code': 0.23; 'classes': 0.26; 'library': 0.26; 'output': 0.28; 'header:User- Agent:1': 0.30; 'received:google.com': 0.34; 'same': 0.34; 'from:addr:gmail.com': 0.34; 'also,': 0.36; 'errors': 0.36; 'functions': 0.36; 'class': 0.37; 'url-ip:151.101.0.223/32': 0.38; 'url-ip:151.101.128.223/32': 0.38; 'url-ip:151.101.192.223/32': 0.38; 'url-ip:151.101.64.223/32': 0.38; 'both': 0.38; 'finding': 0.39; 'received:100': 0.39; 'higher': 0.60; 'likely': 0.61; 'miss': 0.62; 'complete': 0.64; 'your': 0.64; 'news': 0.65; 'tool': 0.65; 'improve': 0.66; 'analysis': 0.69; 'suite': 0.71; 'features': 0.75; 'finds': 0.76; 'dead': 0.81; 'nature,': 0.84; 'unused': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733679709; x=1734284509; darn=python.org; h=content-transfer-encoding:content-language:to:subject:from :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=VC8ampYykPSGutIYLXu6EWoQ/xujIlCNSBgxrt6CnKU=; b=BGiIxeC/isifkO/r0q4JRNWIl+W/6tE9bTSCK4oLCy5LH3qzVzP29pUKUodowrWPRH hMfioJH6fJiq6jrc5pDeXUa9PiH7MOgVMhaHyDiwk85gvJ390zXoKWFd7seoYaSZJrd4 Jkh+AEuDpT1dUuVph7Cxi0NlPIAOTYlrYUXLnIWAL2YYus1I+xoREy5djCqth6GVzVF7 n1VLo8pt6UtgR6/T1R+/H+VFnBBWM8Vs/F9Su2MnsMrbd7aESYjYCkJF0j/jqXm5wRj7 FFTk2+/aCc8LHvP4Ac4tFCVWJcrwLVaf6CRTGNfSXkXweCF3VAFTM2RloSDaQN7RcCmy GIFg==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733679709; x=1734284509; h=content-transfer-encoding:content-language:to:subject:from :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=VC8ampYykPSGutIYLXu6EWoQ/xujIlCNSBgxrt6CnKU=; b=d+DDBITM5BxOT4VhzayB75c7O3M/MntMG3jFKFXB5+2xco3ebxaz8BKJUl4ymvahBz mlLOUt1m9I7QSvC2PW186RRPf1TRKJ6miOgHm3FmRoUIudR0I+UHYa21LiHPTpnjJWEq /F11SUl428sQ/YjdVlF49GXIFk3gpzm0Kn1yXGSZ/twBRmXZGw6ei/u5mLg2mcCeYNkM dgR1YCU/RS1dq+dszuz+j2P80BeQI4otUL5BUozyW4jYx5NwR2nKolKm6hokA2rzcxhA zMNcpm06JSOkbFMdDuRqcGDN/AdvVhTg4JnTQ1nwS0PqT/w9+dO0bh2344QJrvvNsztM CcKg==
X-Gm-Message-State AOJu0Yy2AiKl1wkZgzrZYmcs7pmYpYlKw+7w+xGaVBbYuGZXTDWVcr1A ikuYAsu50b1IgHQXi63V6VjirhBOMUGotMafsSIhQ/WHbLDPfyUG2wyIPw==
X-Gm-Gg ASbGnctRWK897qFZobVFsTwiME8Q0z2AXiu54CWg+clTAvMe8uHWpmw00BNNoYWo1kh JsfwWH/DiGi6pGjc1PIS1k0eoGClBvlZAKX3RWiAOnAOJJYgTyndqN83Su31845ta9eXdej1TmP CyWmsCzZ1UOd+V2Nwy169f3RkG0tNix3EStK9TXDAc4im/kd0qOCj7MDAIe/LMXCk/N/X17uD6J 180L2KytSMlIo0E/OIPIAm2ZRrhXZapZ8d1ip9sGfgh8q/NvYMFyHtzBg==
X-Google-Smtp-Source AGHT+IFDjMq8sD0W2N38MIkB/a0PJcgnqTvok/a7qVml7SgJIZNCeeuT0bap6IJPyN828tAI7/hmLQ==
X-Received by 2002:a05:6512:2389:b0:53f:8c46:42bd with SMTP id 2adb3069b0e04-53f8c4643c3mr1255030e87.15.1733679708606; Sun, 08 Dec 2024 09:41:48 -0800 (PST)
User-Agent Mozilla Thunderbird
Content-Language en-US
X-MailFrom jendrikseipp@gmail.com
X-Mailman-Rule-Hits emergency
X-Mailman-Rule-Misses dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-python-announce-list.python.org-0; header-match-python-announce-list.python.org-1; header-match-python-announce-list.python.org-2; header-match-python-announce-list.python.org-3; header-match-python-announce-list.python.org-4
Message-ID-Hash TF35F2BSDDSLW4ULYJSRC537HJ5XJAGS
X-Message-ID-Hash TF35F2BSDDSLW4ULYJSRC537HJ5XJAGS
X-Mailman-Approved-At Sun, 08 Dec 2024 12:48:23 -0500
X-Mailman-Version 3.3.11b1
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/TF35F2BSDDSLW4ULYJSRC537HJ5XJAGS/>
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-Owner <mailto:python-announce-list-owner@python.org>
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:4213

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 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`


News
====
* Improve reachability analysis (kreathon, #270, #302).
* Add type hints for `get_unused_code` and the fields of the `Item` 
class (John Doknjas, #361).

Cheers,
Jendrik















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


Thread

[Python-announce] Vulture 2.14 Jendrik Seipp <jendrikseipp@gmail.com> - 2024-12-08 18:41 +0100

csiph-web