Andrey Vlasovskikh
a1d2464aa0
Parse references to assigned 'typing' expressions inside docstrings (PY-16303)
2015-10-21 17:34:12 +03:00
Mikhail Golubev
956587f1d3
Merge branch 'east825/google-code-style-docstrings'
...
Conflicts:
python/src/com/jetbrains/python/documentation/PyDocumentationBuilder.java
python/src/com/jetbrains/python/documentation/PythonDocumentationProvider.java
python/src/com/jetbrains/python/psi/impl/PyFunctionBuilder.java
python/testData/quickdoc/NumPyOnesDoc.html
2015-09-15 16:13:22 +03:00
Andrey Vlasovskikh
a07b4762d0
Parse "foo, optional" as Union[foo, None] as a workaround for parameters with default values (PY-15298)
...
It results in false negatives for optional parameters with non-None
default values, but at least we don't need to switch from stubs to AST
in the type checker inspection for every function with optional
parameters.
2015-09-02 20:22:30 +03:00
Mikhail Golubev
31e755b87a
PY-4717 Detect Numpy docstring from its content
2015-09-02 14:34:25 +03:00
Ekaterina Tuzova
4eb12db5fb
fixed numpy tests
2015-04-06 14:17:58 +03:00
Andrey Vlasovskikh
c93310b398
Don't resolve unqualified types in docstrings using class index (PY-12864)
...
It may result in false positives where our index-based guess is
incorrect.
2014-11-12 20:44:53 +03:00
Alexander Marchuk
3be9fb4c44
fix and tests for PY-8836 (false positive after ndarray and int multiplication) and PY-13422 (wrong return type in numpy.ones quickdoc)
...
Conflicts:
python/testSrc/com/jetbrains/python/PyTypeTest.java
2014-10-01 18:52:18 +04:00