- Release
2.10
- Date
TBA
Added
unspecified-encoding
: Emitted when open() is called without specifying an encodingCloses #3826
Added
use-list-literal
: Emitted whenlist()
is called with no arguments instead of using[]
Closes #4365
Added
use-dict-literal
: Emitted whendict()
is called with no arguments instead of using{}
Closes #4365
Added
forgotten-debug-statement
: Emitted whenbreakpoint
,pdb.set_trace
orsys.breakpointhook
calls are foundCloses #3692
CodeStyleChecker
- Extended
consider-using-tuple
check to coverin
comparisons.
- Extended
- Pyreverse - Show class has-a relationships inferred from type-hints
- Performance of the Similarity checker has been improved.
- Added
time.clock
to deprecated functions/methods for python 3.3 - Added
ignored-parents
option to the design checker to ignore specific classes from thetoo-many-ancestors
check (R0901). Don't emit
no-member
error if guarded behind if statement.Ref #1162 Closes #1990 Closes #4168