Disable unused locals and statement has no effect inspections for Python stubs
authorAndrey Vlasovskikh <andrey.vlasovskikh@jetbrains.com>
Wed, 2 Sep 2015 19:20:41 +0000 (22:20 +0300)
committerAndrey Vlasovskikh <andrey.vlasovskikh@jetbrains.com>
Wed, 2 Sep 2015 19:20:41 +0000 (22:20 +0300)
commite971940c7a6d4fa73778241befc9adcdf264c78a
tree88bfa9fd2d62e570ec6812ef5f7bb7bb8522ed29
parent8ac854c75a6748c9b38db6c29c3b924648e385ca
Disable unused locals and statement has no effect inspections for Python stubs

All parameters in Python stubs are considered used. The '...' statement
common in Python stubs has no effect but it's use is specified by
PEP 484.
python/src/META-INF/python-core.xml
python/src/com/jetbrains/python/pyi/PyiVisitorFilter.java [new file with mode: 0644]
python/testData/pyi/inspections/pyiStatementEffect/PyiStatementEffect.pyi [new file with mode: 0644]
python/testData/pyi/inspections/pyiUnusedParameters/PyiUnusedParameters.pyi [new file with mode: 0644]
python/testSrc/com/jetbrains/python/pyi/PyiInspectionsTest.java