summaryrefslogtreecommitdiff
path: root/sphinx/pycode/parser.py
Commit message (Collapse)AuthorAgeFilesLines
* Drop OrderedDictAdam Turner2023-03-051-2/+1
| | | | Since Python 3.7, dicts maintain insertion order.
* Resolve ``flake8-return`` errorsAdam Turner2023-02-181-3/+3
|
* Fix COM812Adam Turner2023-02-181-1/+1
|
* Resolve Ruff SIM114 violationsAdam Turner2023-02-151-1/+1
|
* Run pyupgrade (#11070)Adam Turner2023-01-021-2/+1
|
* Use PEP 604 typesAdam Turner2023-01-011-15/+15
|
* Use PEP 595 typesAdam Turner2023-01-011-31/+31
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* remove blanket 'noqas'Daniel Eades2022-12-161-2/+7
|
* Update typing ignores for mypy 0.990Adam Turner2022-11-131-2/+2
|
* Use ``ast.parse`` from the standard libraryAdam Turner2022-10-171-2/+1
|
* Merge branch '5.x'Adam Turner2022-09-301-1/+1
|\ | | | | | | | | # Conflicts: # sphinx/locale/__init__.py
| * Shrink 'any-generics' whitelist for the `pycode` module (#10868)danieleades2022-09-281-1/+1
| |
* | Drop Python 3.7Adam Turner2022-09-271-12/+11
|/
* Fix some static typing errors (#10745)danieleades2022-08-141-2/+2
|
* Collapse single line docstringsAdam Turner2022-02-201-2/+1
|
* Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
|
* Fix module docstring indentationAdam Turner2022-02-201-2/+2
|
* Fix module docstring first lineAdam Turner2022-02-201-2/+1
|
* Remove module titles in docstringsAdam Turner2022-02-191-3/+0
|
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* Fix #9968: autodoc: ivars are not shown if __init__ has posonlyargsTakeshi KOMIYA2021-12-191-0/+4
|
* Improve sphinx.pycode.parser docstringsLouis Maddox2021-07-181-9/+9
|
* refactor: Add Optional to type annotationsTakeshi KOMIYA2021-05-101-10/+10
|
* refactor: Use PEP-526 based variable annotation (sphinx.pycode)Takeshi KOMIYA2021-03-271-26/+26
|
* Merge branch '3.x'Takeshi KOMIYA2021-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2021-01-011-1/+1
| | | | | | | | | | | | | | .. note:: $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \; $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype
* | Merge branch '3.x'Takeshi KOMIYA2020-11-121-2/+1
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | Keep imports alphabetically sorted and their order homogeneous across Python source files. The isort project has more feature and is more active than the flake8-import-order plugin. Most issues caught were simply import ordering from the same module. Where imports were purposefully placed out of order, tag with isort:skip.
* | Fix flake8 issueFrançois Freitag2020-11-071-1/+0
| |
* | Drop code for supporting py35Takeshi KOMIYA2020-11-061-7/+2
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-07-241-1/+2
|\ \ | |/
| * refactor: pycode: Use OrderedDict to store variable commentsTakeshi KOMIYA2020-07-191-1/+2
| | | | | | | | | | | | It is worthy to keep the order of analyzer.attr_docs to generate document in reproducible. So this uses OrderedDict explicitly to do that. It also helps python3.5 environment.
* | Merge tag 'v3.1.1'Takeshi KOMIYA2020-07-051-1/+2
|\ \ | |/
| * FIX: Fix circular import problemEric Larson2020-06-091-1/+2
| |
* | Merge tag 'v3.1.0'Takeshi KOMIYA2020-07-051-0/+34
|\ \ | |/
| * pycode: Detect @overload decoratorsTakeshi KOMIYA2020-05-311-0/+34
| |
* | refactor: Update type annotationsTakeshi KOMIYA2020-05-021-1/+4
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-04-301-0/+38
|\ \ | |/
| * pycode: Detect @final decoratorsTakeshi KOMIYA2020-04-281-0/+38
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-04-281-35/+21
|\ \ | |/
| * refactor: pycode: visit_ImportTakeshi KOMIYA2020-04-261-8/+2
| |
| * pycode: Fix wrong type annotationTakeshi KOMIYA2020-04-261-1/+1
| |
| * refactor: pycode: Add VariableCommentPicker.get_qualname_for()Takeshi KOMIYA2020-04-261-26/+18
| |
* | Deprecate codes for python 3.5Takeshi KOMIYA2020-03-071-1/+1
|/
* Merge branch '2.0'Takeshi KOMIYA2020-02-091-2/+27
|\
| * autodoc: Support type_comment styled type annotation for variablesTakeshi KOMIYA2020-02-031-3/+5
| |
| * pycode: Support type annotations for variablesTakeshi KOMIYA2020-02-031-2/+25
| |
* | Merge branch '2.0'Takeshi KOMIYA2020-01-011-2/+2
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2020-01-011-1/+1
| |