Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove deprecated ``sphinx.pycode.ast.parse()`` (#11371) | Adam Turner | 2023-04-27 | 1 | -17/+0 |
| | |||||
* | Fix COM812 | Adam Turner | 2023-02-18 | 1 | -1/+1 |
| | |||||
* | Run pyupgrade (#11070) | Adam Turner | 2023-01-02 | 1 | -11/+11 |
| | |||||
* | Use PEP 604 types | Adam Turner | 2023-01-01 | 1 | -5/+5 |
| | |||||
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 1 | -5/+5 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 1 | -0/+2 |
| | |||||
* | Run the ``pyupgrade`` tool | Adam Turner | 2022-10-17 | 1 | -1/+1 |
| | |||||
* | Use ``ast.parse`` from the standard library | Adam Turner | 2022-10-17 | 1 | -0/+7 |
| | |||||
* | Drop Python 3.7 | Adam Turner | 2022-09-27 | 1 | -51/+13 |
| | |||||
* | Clean up after dropping Python 3.6 | Adam Turner | 2022-09-27 | 1 | -3/+3 |
| | |||||
* | Typo | Adam Turner | 2022-06-15 | 1 | -1/+1 |
| | |||||
* | Special case `**` | Adam Turner | 2022-06-15 | 1 | -0/+3 |
| | |||||
* | Expand comment | Adam Turner | 2022-06-15 | 1 | -1/+2 |
| | |||||
* | Switch check | Adam Turner | 2022-06-14 | 1 | -3/+3 |
| | |||||
* | Add a comment | Adam Turner | 2022-06-14 | 1 | -0/+1 |
| | |||||
* | Remove extra space from the unparser | Adam Turner | 2022-06-14 | 1 | -0/+2 |
| | |||||
* | Collapse single line docstrings | Adam Turner | 2022-02-20 | 1 | -2/+1 |
| | |||||
* | Remove copyright and licence fields | Adam Turner | 2022-02-20 | 1 | -3/+0 |
| | |||||
* | Fix module docstring indentation | Adam Turner | 2022-02-20 | 1 | -2/+2 |
| | |||||
* | Fix module docstring first line | Adam Turner | 2022-02-20 | 1 | -2/+1 |
| | |||||
* | Remove module titles in docstrings | Adam Turner | 2022-02-19 | 1 | -3/+0 |
| | |||||
* | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | |||||
* | Improve sphinx.pycode.ast docstrings | Louis Maddox | 2021-07-18 | 1 | -1/+1 |
| | |||||
* | Fix #9364: autodoc: 1-element tuple on the defarg is wrongly rendered | Takeshi KOMIYA | 2021-06-21 | 1 | -3/+5 |
| | |||||
* | refactor: Use PEP-526 based variable annotation (sphinx.pycode) | Takeshi KOMIYA | 2021-03-27 | 1 | -5/+5 |
| | |||||
* | Update type annotations | Takeshi KOMIYA | 2021-02-09 | 1 | -2/+2 |
| | |||||
* | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-16 | 1 | -0/+4 |
|\ | |||||
| * | Fix #8652: autodoc: variable comments are ignored if invalid type comments found | Takeshi KOMIYA | 2021-01-10 | 1 | -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 KOMIYA | 2021-01-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2021-01-01 | 1 | -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 KOMIYA | 2020-11-12 | 1 | -2/+1 |
|\ \ | |/ | |||||
| * | Sort imports with isort | François Freitag | 2020-11-11 | 1 | -1/+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 mypy violations | Takeshi KOMIYA | 2020-10-24 | 1 | -2/+2 |
| | | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-10-24 | 1 | -5/+12 |
|\ \ | |/ | |||||
| * | pycode: ast.unparse() construct number literals using source code | Takeshi KOMIYA | 2020-10-05 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Developers can write number literals in several ways. For example, decimal (1234), hexadecimal (0x1234), octal decimal (0o1234) and so on. But, AST module don't mind how the numbers written in the code. As a result, ast.unparse() could not reproduce the original form of number literals. This allows to construct number literals as possible using original source code. Note: This is only available in Python 3.8+. | ||||
* | | Merge branch '3.x' into master | Takeshi KOMIYA | 2020-10-04 | 1 | -2/+16 |
|\ \ | |/ | |||||
| * | Fix #7964: autodoc: Tuple in default value is wrongly rendered | Takeshi KOMIYA | 2020-10-03 | 1 | -2/+16 |
| | | | | | | | | This implements tuple literal support to sphinx.pycode.ast.unparse(). | ||||
* | | refactor pycode: sort methods | Takeshi KOMIYA | 2020-05-27 | 1 | -7/+6 |
| | | |||||
* | | Fix a mypy violation | Takeshi KOMIYA | 2020-05-27 | 1 | -1/+1 |
| | | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-05-17 | 1 | -92/+121 |
|\ \ | |/ | |||||
| * | Merge branch '3.x' into 7497 | Takeshi KOMIYA | 2020-05-07 | 1 | -1/+1 |
| |\ | |||||
| * | | refactor: Sort visitor methods of _UnparseVisitor | Takeshi KOMIYA | 2020-05-07 | 1 | -62/+62 |
| | | | |||||
| * | | Group together methods that relate to a python 3.8 deprecation | Eric Wieser | 2020-04-17 | 1 | -13/+15 |
| | | | | | | | | | | | | This will make it easier to remove them all at once in future | ||||
| * | | Rewrite unparse to use ast.NodeVisitor | Eric Wieser | 2020-04-17 | 1 | -90/+117 |
| | | | | | | | | | | | | This should make it possible to reuse the same visitor to generate RST code. | ||||
* | | | refactor: Update type annotations | Takeshi KOMIYA | 2020-05-02 | 1 | -0/+11 |
| |/ |/| | |||||
* | | refactor: Add Optional to type annotations | Takeshi KOMIYA | 2020-04-19 | 1 | -3/+3 |
|/ | |||||
* | Deduplicate some code in `pycode.ast` | Eric Wieser | 2020-04-16 | 1 | -22/+15 |
| | |||||
* | Fix #7461: autodoc: empty tuple in type annotation is not shown correctly | Takeshi KOMIYA | 2020-04-12 | 1 | -1/+4 |
| | |||||
* | Fix #7304: pycode: Support operators (BinOp, BoolOp and UnaryOp) | Takeshi KOMIYA | 2020-03-14 | 1 | -1/+33 |
| | |||||
* | py domain: Support lambda functions in function signature | Takeshi KOMIYA | 2020-02-16 | 1 | -1/+67 |
| |