summaryrefslogtreecommitdiff
path: root/sphinx/util/inspect.py
Commit message (Collapse)AuthorAgeFilesLines
...
| | * Fix mypy violations (for mypy-0.720)Takeshi KOMIYA2019-07-131-4/+4
| | |
* | | Merge branch '2.0'Takeshi KOMIYA2019-06-291-1/+1
|\ \ \ | |/ /
| * | Merge branch '2.1.3' into 2.0Takeshi KOMIYA2019-06-291-1/+1
| |\ \ | | |/
| | * Fix mypy violations (for mypy-0.711)Takeshi KOMIYA2019-06-291-1/+1
| | |
* | | Merge branch '2.0'Takeshi KOMIYA2019-06-211-1/+1
|\ \ \ | |/ /
| * | Merge branch '2.1.3' into 2.0Takeshi KOMIYA2019-06-211-1/+1
| |\ \ | | |/
| | * Fix mypy violations (for mypy-0.710)Takeshi KOMIYA2019-06-211-1/+1
| | |
* | | Merge branch '2.0'Takeshi KOMIYA2019-06-091-52/+28
|\ \ \ | |/ /
| * | Migrate to py3 style type annotation: sphinx.util.inspectTakeshi KOMIYA2019-06-021-54/+30
| |/
* | Merge branch '2.0'Takeshi KOMIYA2019-06-011-2/+7
|\ \ | |/
| * Fix #6347: autodoc: crashes with a plain Tuple on Python 3.6 and 3.5Takeshi KOMIYA2019-05-291-2/+7
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-05-291-6/+12
|\ \ | |/
| * Close #744: autodoc: Support abstractmethodTakeshi KOMIYA2019-05-151-3/+9
| |
| * Merge branch '2.0' into 6311_autosummary_confused_by_complex_typehints2Takeshi KOMIYA2019-05-131-0/+6
| |\
| * | Fix #6311: autosummary: autosummary table gets confused by complex type hintsTakeshi KOMIYA2019-05-121-3/+3
| | |
* | | Merge branch '2.0'Takeshi KOMIYA2019-05-131-0/+6
|\ \ \ | | |/ | |/|
| * | Add sphinx.util.inspect:isproperty()Takeshi KOMIYA2019-05-121-0/+6
| |/
* | Fix flake8 violationTakeshi KOMIYA2019-05-061-1/+0
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-05-061-2/+15
|\ \ | |/
| * Add sphinx.util.inspect:iscoroutinefunction()Takeshi KOMIYA2019-04-231-2/+14
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-04-141-0/+42
|\ \ | |/
| * Add sphinx.util.inspect:isattributedescriptor()Takeshi KOMIYA2019-04-141-0/+39
| |
| * refactor: sphinx.util.inspect module provides inspect.is* functionsTakeshi KOMIYA2019-04-131-0/+3
| |
* | Drop features and APIs deprecated in 1.8Takeshi KOMIYA2019-03-301-22/+0
|/
* refactor: Move NoneType to sphinx.util.typingTakeshi KOMIYA2019-02-111-1/+1
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Remove unnecessary enum existence guard (#5858)Jon Dufresne2018-12-231-4/+0
| | | | | | The enum module is always available since Python 3.4.
* | Merge pull request #5509 from stephenfin/remove-future-importsTakeshi KOMIYA2018-12-171-1/+0
|\ \ | | | | | | Remove future imports
| * | py3: Remove (most) __future__ importsStephen Finucane2018-12-171-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were two used: - print_function - absolute_import Both of these are mandatory in Python 3.0 onwards [1] and can therefore be removed...mostly. Unfortunately, mypy is still running in Python 2.7 mode, meaning we need the 'print_function' future wherever we're calling 'print' with the 'file' argument. There's also a single 'absolute_import' future that must be retained as its removal breaks a test for as-yet unknown reasons. TODOs are added to resolve both issues in the future. [1] https://docs.python.org/3/library/__future__.html Signed-off-by: Stephen Finucane <stephen@that.guru>
* | | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-1/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie.
* | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-9/+8
| |
* | Merge pull request #5784 from tk0miya/refactor_hack_for_py2Takeshi KOMIYA2018-12-151-5/+7
|\ \ | | | | | | Refactor hack for py2
| * | Remove a hack for py2 from isclassmethod()Takeshi KOMIYA2018-12-151-5/+2
| | |
| * | Deprecate sphinx.util.inspect.ParameterTakeshi KOMIYA2018-12-151-0/+5
| | |
* | | refactor: Replace six.StringIO by io.StringIOTakeshi KOMIYA2018-12-151-2/+1
|/ /
* | Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA2018-12-151-13/+13
| |
* | Fix annotations (in some modules)Takeshi KOMIYA2018-12-011-2/+2
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| |
* | Replace six.string_types with native strJon Dufresne2018-11-211-5/+4
| |
* | Remove use of six.binary_typeJon Dufresne2018-11-111-4/+1
| | | | | | | | | | | | Remove type checks for cases that don't apply to Python 3. For remaining uses, use bytes instead
* | Merge branch '1.8'Takeshi KOMIYA2018-11-011-13/+6
|\ \ | |/
| * Fix #5480: autodoc: unable to find type hints for unresolvable Forward ↵Takeshi KOMIYA2018-10-151-13/+6
| | | | | | | | references
* | Merge branch '1.8'Takeshi KOMIYA2018-10-161-2/+6
|\ \ | |/
| * Fix #5498: autodoc: unable to find type hints for a ``functools.partial``Takeshi KOMIYA2018-10-141-2/+6
| |
* | Replace all six.itervalues()/.iteritems() with .values()/.items()Jon Dufresne2018-09-231-2/+2
| |
* | Remove uses of six.moves that did not cause any type errorsJon Dufresne2018-09-231-1/+1
| | | | | | | | | | Removal of the remaining imports may require passing "--python-version 3.5" to the mypy command.
* | Merge branch 'master' into HEADTakeshi KOMIYA2018-09-221-262/+94
|\ \
| * | refactoring: Drop PY2 and PY3 flagsTakeshi KOMIYA2018-09-221-158/+92
| | |
| * | Drop branches for sys.version_info < (3, 4)Takeshi KOMIYA2018-09-221-103/+1
| | |