Find dead Python code
MagicMock
and Mock
(maxrake, #342).end_lineno
AST attribute to obtain more accurate line counts (Jendrik Seipp).--help
and --version
again (Jendrik Seipp, #321).UnicodeEncodeError
exception handling to core.py
(milanbalazs, #299).Enum
attributes _name_
and _value_
(Eugene Toder, #305).setup_module()
, teardown_module()
, etc. in pytest test_*.py
files (Jendrik Seipp).socketserver.TCPServer.allow_reuse_address
(Ben Elliston).--exclude
patterns are matched against absolute paths (Jendrik Seipp, #260).match
statement support (kreathon, #276, #291).__all__
as used (kreathon, #172, #282).pint.UnitRegistry.default_formatter
(Ben Elliston, #258).del
keyword to mark unused variables (sshishov, #279).