It does no control flow analysis, and upgrading to pylint 3.2.0 produced many incorrect warnings. Also ignore contextmanager-generator-missing-cleanup for now. It has FP when there is no code after a yield (and thus no cleanup needs to be handled), which is what we do. Currently under discussion upstream: https://github.com/pylint-dev/pylint/issues/9625pull/13224/head
parent
29a62ff794
commit
e343590e7d
1 changed files with 3 additions and 0 deletions
Loading…
Reference in new issue