summaryrefslogtreecommitdiff
path: root/sphinx/pycode/parser.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * mypy: Enable disallow_incomplete_defs flag for type checkingTakeshi KOMIYA2019-12-301-1/+1
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-12-221-1/+1
|\ \ | |/
| * Merge pull request #6906 from kpnr/patch-1Takeshi KOMIYA2019-12-221-1/+1
| |\ | | | | | | Update parser.py
| | * Update parser.pykpnr2019-12-121-1/+1
| | | | | | | | | encoding damages non-ASCII characters
* | | Merge branch '2.0'Takeshi KOMIYA2019-12-211-1/+1
|\ \ \ | |/ /
| * | Fix mypy violations (for mypy-0.761)Takeshi KOMIYA2019-12-211-1/+1
| |/
* | Merge branch '2.0'Takeshi KOMIYA2019-12-011-1/+1
|\ \ | |/
| * Fix mypy violations (for mypy-0.750)Takeshi KOMIYA2019-11-301-1/+1
| |
* | Fix inaccurate docstring for TokenProcessor.fetch_token()Jon Dufresne2019-08-151-1/+1
|/
* Fix autodoc: autodoc_member_order_does not refer order of imports (refs: #6574)Takeshi KOMIYA2019-07-131-0/+16
|
* Merge branch '2.1.3' into 2.0Takeshi KOMIYA2019-07-131-1/+1
|\
| * Fix mypy violations (for mypy-0.720)Takeshi KOMIYA2019-07-131-1/+1
| |
* | Migrate to py3 style type annotation: sphinx.pycode.parserTakeshi KOMIYA2019-07-061-79/+40
|/
* Fix #6451: autodoc: generates docs for "optional import"ed modules as variablesTakeshi KOMIYA2019-06-081-0/+11
|
* Add docstring to pycode.parserTakeshi KOMIYA2019-04-241-0/+9
|
* pycode: Support "async" syntaxTakeshi KOMIYA2019-04-231-0/+4
|
* Clean up import for annotationsTakeshi KOMIYA2019-03-061-1/+1
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Replace use of six.text_type with strJon Dufresne2018-12-181-3/+1
| | | | | | | | | | This removes the last use of the six package allowing Sphinx to remove it as a dependency.
* | 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.
* | refactor: Remove u-prefix from stringsTakeshi KOMIYA2018-12-161-3/+3
| |
* | Merge pull request #5803 from jdufresne/encoding-utf8Takeshi KOMIYA2018-12-161-1/+1
|\ \ | | | | | | Avoid respecifying default encoding for .encode()/.decode() calls
| * | Avoid respecifying default encoding for .encode()/.decode() callsJon Dufresne2018-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3, both .encode() and .decode() default the encoding to 'utf-8'. See the docs: https://docs.python.org/3/library/stdtypes.html#str.encode https://docs.python.org/3/library/stdtypes.html#bytes.decode Simplify and shorten the code by using the default instead of respecifying it.
* | | Use Python 3 super() argument-less syntaxJon Dufresne2018-12-151-4/+4
|/ / | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super
* | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-26/+25
| |
* | Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA2018-12-151-5/+5
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-1/+2
| |
* | Remove unnecessary __ne__ definitionsJon Dufresne2018-09-231-4/+0
| | | | | | | | | | | | | | | | | | In Python 3, __ne__ defaults to the inverse of __eq__. From https://docs.python.org/3/reference/datamodel.html#object.__ne__ > By default, __ne__() delegates to __eq__() and inverts the result > unless it is NotImplemented.
* | Merge branch 'master' into HEADTakeshi KOMIYA2018-09-221-5/+2
|\ \
| * | refactoring: Drop PY2 and PY3 flagsTakeshi KOMIYA2018-09-221-5/+2
| |/
* | Remove unnecessary object from class definitionsJon Dufresne2018-09-111-3/+3
|/ | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary.
* Merge branch '1.7'Takeshi KOMIYA2018-06-161-1/+6
|\
| * Fix #5019: autodoc: crashed by Form Feed CharacterTakeshi KOMIYA2018-06-101-1/+6
| |
* | Merge branch 1.7shimizukawa2018-05-251-4/+5
|\ \ | |/
| * Fix #4914: autodoc: Parsing error when using dataclasses without default valuesTakeshi KOMIYA2018-05-211-4/+5
| |
* | Merge branch '1.7'Takeshi KOMIYA2018-04-141-3/+26
|\ \ | |/
| * Fix #4812: autodoc ignores type annotated variablesTakeshi KOMIYA2018-04-081-3/+26
| |
* | Merge branch '1.7'Takeshi KOMIYA2018-03-181-2/+2
|\ \ | |/
| * Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-2/+2
| | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* | Merge branch '1.7'Takeshi KOMIYA2018-02-181-2/+2
|\ \ | |/
| * Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+2
| |
* | Update type annotationsTakeshi KOMIYA2018-02-041-0/+1
|/
* Use flake8-import-orderTakeshi KOMIYA2018-01-281-2/+2
|
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|
* Fix mypy violationTakeshi KOMIYA2017-10-211-1/+1
|
* Merge pull request #4157 from tk0miya/4156_parse_class_commentTakeshi KOMIYA2017-10-211-0/+1
|\ | | | | Fix #4156: failed to parse class comment
| * Fix #4156: failed to parse class commentTakeshi KOMIYA2017-10-191-0/+1
| |
* | Fix flake8 and mypy violationsTakeshi KOMIYA2017-10-191-2/+2
| |
* | Support more complex starred asssignment caseTakeshi KOMIYA2017-10-191-4/+9
| |