summaryrefslogtreecommitdiff
path: root/sphinx/pycode
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated ``sphinx.pycode.ast.parse()`` (#11371)Adam Turner2023-04-271-17/+0
|
* Drop OrderedDictAdam Turner2023-03-052-4/+2
| | | | Since Python 3.7, dicts maintain insertion order.
* Remove ``.egg`` support from pycode ``ModuleAnalyser``Adam Turner2023-03-051-22/+1
| | | | Python eggs are a now-obsolete binary distribution format.
* Resolve ``flake8-return`` errorsAdam Turner2023-02-182-4/+4
|
* Fix COM812Adam Turner2023-02-183-3/+3
|
* Resolve Ruff SIM114 violationsAdam Turner2023-02-151-1/+1
|
* Fix various Ruff errorsAdam Turner2023-01-311-2/+4
|
* Run pyupgrade (#11070)Adam Turner2023-01-023-18/+17
|
* Use PEP 604 typesAdam Turner2023-01-013-22/+22
|
* Use PEP 595 typesAdam Turner2023-01-013-47/+47
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-013-0/+6
|
* remove blanket 'noqas'Daniel Eades2022-12-161-2/+7
|
* Update typing ignores for mypy 0.990Adam Turner2022-11-131-2/+2
|
* Run the ``pyupgrade`` toolAdam Turner2022-10-171-1/+1
|
* Use ``ast.parse`` from the standard libraryAdam Turner2022-10-172-2/+8
|
* Merge branch '5.x'Adam Turner2022-09-302-8/+8
|\ | | | | | | | | # Conflicts: # sphinx/locale/__init__.py
| * Shrink 'any-generics' whitelist for the `pycode` module (#10868)danieleades2022-09-282-8/+8
| |
* | Drop Python 3.7Adam Turner2022-09-272-63/+24
| |
* | Clean up after dropping Python 3.6Adam Turner2022-09-271-3/+3
|/
* Fix some static typing errors (#10745)danieleades2022-08-141-2/+2
|
* TypoAdam Turner2022-06-151-1/+1
|
* Special case `**`Adam Turner2022-06-151-0/+3
|
* Expand commentAdam Turner2022-06-151-1/+2
|
* Switch checkAdam Turner2022-06-141-3/+3
|
* Add a commentAdam Turner2022-06-141-0/+1
|
* Remove extra space from the unparserAdam Turner2022-06-141-0/+2
|
* Remove deprecated code for Sphinx 5.0Adam Turner2022-04-171-8/+0
|
* Collapse single line docstringsAdam Turner2022-02-203-6/+3
|
* Remove copyright and licence fieldsAdam Turner2022-02-203-9/+0
|
* Fix module docstring indentationAdam Turner2022-02-203-6/+6
|
* Fix module docstring first lineAdam Turner2022-02-203-6/+3
|
* Remove module titles in docstringsAdam Turner2022-02-193-9/+0
|
* A happy new year!Takeshi KOMIYA2022-01-013-3/+3
|
* 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
|
* Improve sphinx.pycode.ast docstringsLouis Maddox2021-07-181-1/+1
|
* Fix #9364: autodoc: 1-element tuple on the defarg is wrongly renderedTakeshi KOMIYA2021-06-211-3/+5
|
* refactor: Add Optional to type annotationsTakeshi KOMIYA2021-05-102-17/+17
|
* refactor: Use PEP-526 based variable annotation (sphinx.pycode)Takeshi KOMIYA2021-03-273-38/+38
|
* Update type annotationsTakeshi KOMIYA2021-02-091-2/+2
|
* Merge branch '3.x'Takeshi KOMIYA2021-01-161-0/+4
|\
| * Fix #8652: autodoc: variable comments are ignored if invalid type comments foundTakeshi KOMIYA2021-01-101-0/+4
| | | | | | | | | | | | To avoid the crash of ModuleAnalyzer from invalid type comments, this start to retry parsing without type_comments=False when `ast.parse()` raises SyntaxError.
* | Merge branch '3.x'Takeshi KOMIYA2021-01-013-3/+3
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2021-01-013-3/+3
| | | | | | | | | | | | | | .. 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-12-141-1/+1
|\ \ | |/
| * Fix pycode becomes slowTakeshi KOMIYA2020-11-261-1/+1
| | | | | | | | On the renaming ModuleAnalyzer.parse(), I overlooked renaming a flag.
* | Fix flake8 warningsTakeshi KOMIYA2020-11-251-0/+1
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-11-221-5/+12
|\ \ | |/
| * Rename ModuleAnalyzer.parse() to analyze()Takeshi KOMIYA2020-11-221-6/+12
| | | | | | | | | | The word "analyze" is much appropriate for "ModuleAnalyzer" instead of "parse".
* | Merge branch '3.x'Takeshi KOMIYA2020-11-123-5/+3
|\ \ | |/