Commit Graph
195606 Commits
Author SHA1 Message Date
Valentina Kiryushkina 4b33832bbd Do not resolve PyReferenceExpression 2017-05-15 14:37:58 +03:00
Valentina Kiryushkina 29182d34bd Use Arrays.fill instead of for 2017-05-15 14:37:58 +03:00
Valentina Kiryushkina 73b28eacc7 Fix resolving dict: 1) Remove dict call resolving part from getElementFromDictLiteral 2) Get rid of useless getElementFromCallExpression 2017-05-15 14:37:58 +03:00
Valentina Kiryushkina 16719a320e Remove unused resolve context 2017-05-15 14:37:58 +03:00
Valentina Kiryushkina 61c2084b97 Remove unnecessary check for set here 2017-05-15 14:37:58 +03:00
Valentina Kiryushkina dc8fbfcece Fix off-by-one error
[spring-boot] Endpoints: add ready state checking timeout
2017-05-15 14:37:57 +03:00
Valentina Kiryushkina 0ab6f65d37 Fix test for packing generalization introduced in python 3.5: remove unreal test cases, fix false positives for packed reference and call expressions 2017-05-15 14:37:57 +03:00
Valentina Kiryushkina f1d8ea5c82 Fix for unicode escapes: use getText() instead of getStringValue() 2017-05-15 14:37:57 +03:00
Valentina Kiryushkina 9da8968a96 Fix PY-20705: skip unicode escapes when parsing format strings 2017-05-15 14:37:57 +03:00
Valentina Kiryushkina c8712a2cb3 Minor Use assertEquals instead of direct comparison 2017-05-15 14:37:57 +03:00
Valentina Kiryushkina c5a97a81c1 Remove all logic responsible for resolving to function return values Analyze dict call in resolveStringIndex 2017-05-15 14:37:57 +03:00
Valentina Kiryushkina 2c3cc146f9 Remove all logic responsible for resolving to function return values 2017-05-15 14:37:57 +03:00
Valentina Kiryushkina d1d100a6e6 Minor Rename addTypes->specifyTypes as this method modifies set of types that satisfy current chunk format options 2017-05-15 14:37:57 +03:00
Valentina Kiryushkina ccb8ee5e8d Fix test warning message 2017-05-15 14:37:56 +03:00
Valentina Kiryushkina 002c5c2523 Fix test: uncomment test commented by mistake 2017-05-15 14:37:56 +03:00
Valentina Kiryushkina 212ff34eb7 Add myTypeEvalContext dropped by mistake 2017-05-15 14:37:56 +03:00
Valentina Kiryushkina bfbd7b425e Fix tests as warning message had changed 2017-05-15 14:37:56 +03:00
Valentina Kiryushkina 4ab6423600 Move test from Unresolved reference inspection tests to String format inspection test 2017-05-15 14:37:56 +03:00
Valentina Kiryushkina 6bdec8a39e Fix after rebase on master 2017-05-15 14:37:56 +03:00
Valentina Kiryushkina 092f97d2e2 Minor Fix according to review 2017-05-15 14:37:55 +03:00
Valentina Kiryushkina 2c52d397ab PY-21156 Fix tests 2017-05-15 14:37:55 +03:00
Valentina Kiryushkina 0daa25b31b PY-21156 Change inspection message for mapping key which causes KeyError 2017-05-15 14:37:55 +03:00
Valentina Kiryushkina ec675c1d80 PY-21156 Resolve to keyword argument for dict call 2017-05-15 14:37:55 +03:00
Valentina Kiryushkina 78d9f96481 Fix tests 2017-05-15 14:37:55 +03:00
Valentina Kiryushkina ed6c1d127d PY-21164 PY-8325 Add test 2017-05-15 14:37:55 +03:00
Valentina Kiryushkina 1dfb4dcdee PY-21164 PY-8325 Fix false positives for packed collections inside collections in python 3.5
* Move indexed elements resolve from inspection to PySubstitutionChunkReference
* Resolve correctly to packed list/tuple inside list/tuple, to packed dict inside dict
* Update tests
2017-05-15 14:37:55 +03:00
Valentina Kiryushkina f608274755 PY-21156 Check argument number for packed strings 2017-05-15 14:37:54 +03:00
Valentina Kiryushkina 53f4893182 Minor Cleanup 2017-05-15 14:37:54 +03:00
Valentina Kiryushkina 25e5cf74b6 Minor Convert runnable to lambda 2017-05-15 14:37:54 +03:00
Valentina Kiryushkina 22f877a9ed PY-21166 No inspection if unknown format code is used in formatted string 2017-05-15 14:37:54 +03:00
Valentina Kiryushkina 77de45b0fd PY-8325 Do not reset chunk position if it was parsed 2017-05-15 14:37:54 +03:00
Valentina Kiryushkina 0676702abb PY-8325 cleanup 2017-05-15 14:37:53 +03:00
Valentina Kiryushkina caad632837 Fix PY-20599 False positive for %a format specifier 2017-05-15 14:37:53 +03:00
Valentina Kiryushkina 03a05fc2eb PY-8325 Don't show unresolved reference warning inside format strings: show warnings provided by String Format Inspection
Merge remote-tracking branch 'origin/master'
2017-05-15 14:37:53 +03:00
Valentina Kiryushkina 4317349209 PY-8325 Remove test that is unsupported now 2017-05-15 14:37:53 +03:00
Valentina Kiryushkina bcc9d013a6 PY-8325 Analyze call expression return type to determine number of arguments Add tests
to squash
2017-05-15 14:37:53 +03:00
Valentina Kiryushkina 26db023a9c Fix PY-19699 False positive "Too few arguments for format string" on *imported* tuple: don't inspect expression with not-inferred type 2017-05-15 14:37:53 +03:00
Valentina Kiryushkina 91f27172ee Refactor and cleanup 2017-05-15 14:37:52 +03:00
Valentina Kiryushkina bf1d370feb Inspect chunks with mapping key with subscriptions Add tests 2017-05-15 14:37:52 +03:00
Valentina Kiryushkina 48bb334148 Parse element indexes and attribute names in new style substitution chunk name fields Add tests 2017-05-15 14:37:52 +03:00
Valentina Kiryushkina 65eb622012 Minor Cleanup 2017-05-15 14:37:52 +03:00
Valentina Kiryushkina b558ba621d Resolve keyword substitution chunk reference to the value, not the key 2017-05-15 14:37:52 +03:00
Valentina Kiryushkina bea228fcd7 Fix false positive in format inspection: check compatibility for primitive types only 2017-05-15 14:37:52 +03:00
Valentina Kiryushkina 5e80a61f24 Fix name parsing problem in new string format parser Add tests 2017-05-15 14:37:52 +03:00
Valentina Kiryushkina 9c0cab565b Add string format inspection for new style format Add tests 2017-05-15 14:37:51 +03:00
Valentina Kiryushkina d9eb2c3e69 Parse new-style format substitutions parameters
Extract superclass of percent and new-style substitution chunks
2017-05-15 14:37:51 +03:00
Valentina Kiryushkina c54dbd1dbe Minor Remove obsolete comments 2017-05-15 14:37:51 +03:00
Valentina Kiryushkina 2912a6f31c Minor Reformat Add NotNull annotations 2017-05-15 14:37:51 +03:00
peter f6885971b9 NullableStuffInspectionTest: use jdk 8 2017-05-15 13:32:46 +02:00
Vladimir Krivosheev 845d863db0 IDEA-CR-21062 add test, do not add location hash prefix for cache folder 2017-05-15 13:19:50 +02:00