PY-20805 PY-8219 Detect usages of local variables inside f-strings
authorMikhail Golubev <mikhail.golubev@jetbrains.com>
Fri, 30 Sep 2016 15:08:58 +0000 (18:08 +0300)
committerMikhail Golubev <mikhail.golubev@jetbrains.com>
Wed, 5 Oct 2016 13:11:37 +0000 (16:11 +0300)
commit4e40d02ee66b67fd6c87bbf1dd65ea5674db54d1
tree77e2df2c82136b9d5e160df3648f3c453a711bdb
parent514961db759ca47b1d59334960558f0cda73f82b
PY-20805 PY-8219 Detect usages of local variables inside f-strings

Additionally, as a positive side-effect, "Unused local" inspection
no longer warns about function parameters that appear in doctests now.
python/src/com/jetbrains/python/inspections/PyUnusedLocalInspectionVisitor.java
python/testData/inspections/UnusedLocalDoctestReference/test.py [new file with mode: 0644]
python/testData/inspections/UnusedLocalFStringReferences/test.py [new file with mode: 0644]
python/testSrc/com/jetbrains/python/PythonInspectionsTest.java