Commit Graph

7 Commits

Author SHA1 Message Date
ssolanki
917dee7892 add whatsnew/2.2.rst 2018-08-09 15:47:05 +05:30
ssolanki
7a304df657 add new case for unnecessary-pass
`unnecessary-pass` is now also emitted when a function or class contains
only docstring and pass statement, in which case, docstring is enough for
empty definition.

fix sphinx-build error
2018-08-09 12:43:04 +05:30
Claudiu Popa
ea0043c35b Drop the _static folder and update the release date 2018-08-01 08:46:14 +02:00
Bryce Guinta
913d176a3e Remove hanging rst substitution 2018-08-01 08:40:54 +02:00
Sushobhit
676852cedc Add new check misplaced-format-function. (#2218)
* Add new check misplaced-format-function.

check only w.r.t print function.
For other use cases no-member check already exists.

fix code block not visible for few checkers
2018-07-31 11:23:44 -06:00
Bryce Guinta
edceee93ba Suppress undefined-variable for self referential class in lamdbas (#2362)
This works because execution of the lambda code is
typically deferred until the class definition is built.

Also avoid suppression for default arguments of lambda's
if the class scope is the immediate parent scope
of the lambda.

Close #704
2018-07-31 08:16:34 +02:00
Claudiu Popa
d195f9ce2b add release changelog for 2.1 2018-07-24 09:18:31 +02:00