Ashley Whetter
f90b223a5e
Can choose decorators that mutate a function's signature ( #2926 )
...
Close #259
2019-05-23 08:17:33 +02:00
Claudiu Popa
5f658150ff
Add a what's new entry for the new extension
2019-04-29 10:24:39 +02:00
Zeb Nicholls
b1ee3854ab
Add 'of' to GoogleDocstring multiple type ( #2884 )
...
A docstring of the following form should pass (see https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_numpy.html , search for ':obj:list of :obj:str')
def my_func(self):
"""This is a docstring.
Returns
-------
:obj:`list` of :obj:`str`
List of strings
"""
return ["hi", "bye"] #@
2019-04-29 10:18:25 +02:00
fadedDexofan
fdc97772f4
Added subprocess.run explicit set check
argument checker. Closes #2848
2019-04-19 12:14:21 +02:00
Paul Renvoisé
3228bc4184
Add preferred-modules option and check
...
This allow users to specify a set of preferred modules that
should be used instead of other modules.
2019-03-27 14:47:11 +01:00
Pierre Sassoulas
3ff17ae9e3
Feat - Makes C0412 (ungrouped-imports) compatible with isort ( #2824 )
...
Closes #2806 .
2019-03-22 09:03:58 +01:00
yory8
a138a1a8f4
Add new linter: dict-iter-missing-items
...
Add a new linter to check against forgotten calls to `.items()` when
iterating through a dictionary in a `for` loop.
Close #2761
2019-03-20 09:41:16 +01:00
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