Commit Graph

1 Commits

Author SHA1 Message Date
Claudiu Popa
ef1fdce33c Add wrong-import-position to check_messages's decorator arguments for ImportChecker.leave_module
This fixes an esoteric bug which occurs when ungrouped-imports and wrong-import-order
are disabled and pylint is executed on multiple files. What happens is that without
wrong-import-position in check_messages, leave_module will never be called, which means
that the first non-import node from other files might leak into the current file,
leading to wrong-import-position being emitted by pylint.
2015-11-30 00:46:56 +02:00