commit | 7d440dda6b65b182c258a0a63b56fa5c0909bb6d | [log] [tgz] |
---|---|---|
author | Andreas Finkler <3929834+DudeNr33@users.noreply.github.com> | Mon Aug 30 08:05:11 2021 +0200 |
committer | GitHub <noreply@github.com> | Mon Aug 30 08:05:11 2021 +0200 |
tree | fa2ae736859a288d820745a2dbd7e2f6a83818c0 | |
parent | 50937500e1ef4ba9fcb6a300eb713d3941eb1091 [diff] |
Implement basic control flow checks for ``consider-using-with`` (#4929) * Add some control flow checks to consider-using-with in order to handle assignments in different branches * Use existing function from ``astroid`` to determine whether two statements are exclusive * Add unit tests for new utility methods * Add ChangeLog and whatsnew entry