Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pycode: Detect @overload decorators | Takeshi KOMIYA | 2020-05-31 | 1 | -0/+34 |
| | |||||
* | pycode: Detect @final decorators | Takeshi KOMIYA | 2020-04-28 | 1 | -0/+38 |
| | |||||
* | refactor: pycode: visit_Import | Takeshi KOMIYA | 2020-04-26 | 1 | -8/+2 |
| | |||||
* | pycode: Fix wrong type annotation | Takeshi KOMIYA | 2020-04-26 | 1 | -1/+1 |
| | |||||
* | refactor: pycode: Add VariableCommentPicker.get_qualname_for() | Takeshi KOMIYA | 2020-04-26 | 1 | -26/+18 |
| | |||||
* | Merge branch '2.0' | Takeshi KOMIYA | 2020-02-09 | 1 | -2/+27 |
|\ | |||||
| * | autodoc: Support type_comment styled type annotation for variables | Takeshi KOMIYA | 2020-02-03 | 1 | -3/+5 |
| | | |||||
| * | pycode: Support type annotations for variables | Takeshi KOMIYA | 2020-02-03 | 1 | -2/+25 |
| | | |||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2020-01-01 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| | | |||||
| * | mypy: Enable disallow_incomplete_defs flag for type checking | Takeshi KOMIYA | 2019-12-30 | 1 | -1/+1 |
| | | |||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2019-12-22 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Merge pull request #6906 from kpnr/patch-1 | Takeshi KOMIYA | 2019-12-22 | 1 | -1/+1 |
| |\ | | | | | | | Update parser.py | ||||
| | * | Update parser.py | kpnr | 2019-12-12 | 1 | -1/+1 |
| | | | | | | | | | encoding damages non-ASCII characters | ||||
* | | | Merge branch '2.0' | Takeshi KOMIYA | 2019-12-21 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Fix mypy violations (for mypy-0.761) | Takeshi KOMIYA | 2019-12-21 | 1 | -1/+1 |
| |/ | |||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2019-12-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix mypy violations (for mypy-0.750) | Takeshi KOMIYA | 2019-11-30 | 1 | -1/+1 |
| | | |||||
* | | Fix inaccurate docstring for TokenProcessor.fetch_token() | Jon Dufresne | 2019-08-15 | 1 | -1/+1 |
|/ | |||||
* | Fix autodoc: autodoc_member_order_does not refer order of imports (refs: #6574) | Takeshi KOMIYA | 2019-07-13 | 1 | -0/+16 |
| | |||||
* | Merge branch '2.1.3' into 2.0 | Takeshi KOMIYA | 2019-07-13 | 1 | -1/+1 |
|\ | |||||
| * | Fix mypy violations (for mypy-0.720) | Takeshi KOMIYA | 2019-07-13 | 1 | -1/+1 |
| | | |||||
* | | Migrate to py3 style type annotation: sphinx.pycode.parser | Takeshi KOMIYA | 2019-07-06 | 1 | -79/+40 |
|/ | |||||
* | Fix #6451: autodoc: generates docs for "optional import"ed modules as variables | Takeshi KOMIYA | 2019-06-08 | 1 | -0/+11 |
| | |||||
* | Add docstring to pycode.parser | Takeshi KOMIYA | 2019-04-24 | 1 | -0/+9 |
| | |||||
* | pycode: Support "async" syntax | Takeshi KOMIYA | 2019-04-23 | 1 | -0/+4 |
| | |||||
* | Clean up import for annotations | Takeshi KOMIYA | 2019-03-06 | 1 | -1/+1 |
| | |||||
* | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
|\ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
| | | |||||
* | | Replace use of six.text_type with str | Jon Dufresne | 2018-12-18 | 1 | -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 files | Jon Dufresne | 2018-12-16 | 1 | -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 strings | Takeshi KOMIYA | 2018-12-16 | 1 | -3/+3 |
| | | |||||
* | | Merge pull request #5803 from jdufresne/encoding-utf8 | Takeshi KOMIYA | 2018-12-16 | 1 | -1/+1 |
|\ \ | | | | | | | Avoid respecifying default encoding for .encode()/.decode() calls | ||||
| * | | Avoid respecifying default encoding for .encode()/.decode() calls | Jon Dufresne | 2018-12-15 | 1 | -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 syntax | Jon Dufresne | 2018-12-15 | 1 | -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 KOMIYA | 2018-12-15 | 1 | -26/+25 |
| | | |||||
* | | Move to py3 mode for mypy (and remove many "type: ignore" comments) | Takeshi KOMIYA | 2018-12-15 | 1 | -5/+5 |
| | | |||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -1/+2 |
| | | |||||
* | | Remove unnecessary __ne__ definitions | Jon Dufresne | 2018-09-23 | 1 | -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 HEAD | Takeshi KOMIYA | 2018-09-22 | 1 | -5/+2 |
|\ \ | |||||
| * | | refactoring: Drop PY2 and PY3 flags | Takeshi KOMIYA | 2018-09-22 | 1 | -5/+2 |
| |/ | |||||
* | | Remove unnecessary object from class definitions | Jon Dufresne | 2018-09-11 | 1 | -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 KOMIYA | 2018-06-16 | 1 | -1/+6 |
|\ | |||||
| * | Fix #5019: autodoc: crashed by Form Feed Character | Takeshi KOMIYA | 2018-06-10 | 1 | -1/+6 |
| | | |||||
* | | Merge branch 1.7 | shimizukawa | 2018-05-25 | 1 | -4/+5 |
|\ \ | |/ | |||||
| * | Fix #4914: autodoc: Parsing error when using dataclasses without default values | Takeshi KOMIYA | 2018-05-21 | 1 | -4/+5 |
| | | |||||
* | | Merge branch '1.7' | Takeshi KOMIYA | 2018-04-14 | 1 | -3/+26 |
|\ \ | |/ | |||||
| * | Fix #4812: autodoc ignores type annotated variables | Takeshi KOMIYA | 2018-04-08 | 1 | -3/+26 |
| | | |||||
* | | Merge branch '1.7' | Takeshi KOMIYA | 2018-03-18 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Revert "Use typing.TYPE_CHECKING for typehints" | Takeshi KOMIYA | 2018-03-13 | 1 | -2/+2 |
| | | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4. |