summaryrefslogtreecommitdiff
path: root/pylint/test/regrtest_data/wrong_import_position.py
Commit message (Collapse)AuthorAgeFilesLines
* Add wrong-import-position to check_messages's decorator arguments for ↵Claudiu Popa2015-11-301-0/+11
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.