hippo91
8d2f5d090b
Add a new `missing-parentheses-for-call-in-test
` check
...
This is emitted in case a call to a function is made inside a test but it misses parentheses.
It is a more specialised form of `using-constant-test`, but tailored specifically to callables.
Close #2658
2019-03-19 10:45:09 +01:00
Paul Renvoise
4714a65529
Make `len-as-condition
only fire when a
len(x)
` call is made without an explicit comparison
...
This commit reduce the scope of `len-as-condition` to only care when a
`len(SEQUENCE)` call is made without an explicit comparison, as stated
in PEP8.
2019-03-19 10:16:07 +01:00
Claudiu Popa
097227b612
Added a new check class-variable-slots-conflict
...
This check is emitted when ``pylint`` finds a class variable that conflicts with a slot
name, which would raise a ``ValueError`` at runtime.
2019-03-03 13:27:37 +01:00
Claudiu Popa
55de04f2b0
Move the --from-stdin changelog to 2.4
2019-03-02 14:30:08 +01:00
Claudiu Popa
dbc1df378c
Master is now 2.4
2019-02-27 11:20:26 +01:00