Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-02-09 | Update type annotations | Takeshi KOMIYA | |
2021-01-16 | Merge branch '3.x' | Takeshi KOMIYA | |
2021-01-10 | Fix #8652: autodoc: variable comments are ignored if invalid type comments found | Takeshi KOMIYA | |
To avoid the crash of ModuleAnalyzer from invalid type comments, this start to retry parsing without type_comments=False when `ast.parse()` raises SyntaxError. | |||
2021-01-01 | Merge branch '3.x' | Takeshi KOMIYA | |
2021-01-01 | A happy new year! | Takeshi KOMIYA | |
.. 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 | |||
2020-12-13 | Merge branch '3.x' | Takeshi KOMIYA | |
2020-11-25 | Fix pycode becomes slow | Takeshi KOMIYA | |
On the renaming ModuleAnalyzer.parse(), I overlooked renaming a flag. | |||
2020-11-24 | Fix flake8 warnings | Takeshi KOMIYA | |
2020-11-22 | Merge branch '3.x' | Takeshi KOMIYA | |
2020-11-21 | Rename ModuleAnalyzer.parse() to analyze() | Takeshi KOMIYA | |
The word "analyze" is much appropriate for "ModuleAnalyzer" instead of "parse". | |||
2020-11-11 | Merge branch '3.x' | Takeshi KOMIYA | |
2020-11-11 | Merge pull request #8408 from francoisfreitag/isort | Takeshi KOMIYA | |
Sort imports with isort | |||
2020-11-11 | Sort imports with isort | François Freitag | |
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. | |||
2020-11-10 | Merge branch '3.x' | Takeshi KOMIYA | |
2020-11-08 | Fix #8372: autodoc: autoclass directive became slower than Sphinx-3.2 | Takeshi KOMIYA | |
* The result of ModuleAnalyzer.parse() is not cached * autodoc tries to search overloaded constructor methods to the root class even if a definition found | |||
2020-11-07 | Fix flake8 issue | François Freitag | |
2020-11-05 | Drop code for supporting py35 | Takeshi KOMIYA | |
2020-10-24 | Fix mypy violations | Takeshi KOMIYA | |
2020-10-24 | Merge branch '3.x' | Takeshi KOMIYA | |
2020-10-04 | pycode: ast.unparse() construct number literals using source code | Takeshi KOMIYA | |
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+. | |||
2020-10-04 | Merge branch '3.x' into master | Takeshi KOMIYA | |
2020-10-03 | Fix #7964: autodoc: Tuple in default value is wrongly rendered | Takeshi KOMIYA | |
This implements tuple literal support to sphinx.pycode.ast.unparse(). | |||
2020-07-24 | Merge branch '3.x' | Takeshi KOMIYA | |
2020-07-19 | refactor: pycode: Use OrderedDict to store variable comments | Takeshi KOMIYA | |
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. | |||
2020-07-04 | Merge branch '3.x' | Takeshi KOMIYA | |
2020-07-04 | Merge tag 'v3.1.1' | Takeshi KOMIYA | |
2020-07-04 | Merge tag 'v3.1.0' | Takeshi KOMIYA | |
2020-06-28 | Merge pull request #7832 from cool-RR/2020-06-11-raise-from | Takeshi KOMIYA | |
Fix exception causes all over the codebase | |||
2020-06-14 | Fix exception causes all over the codebase | Ram Rachum | |
2020-06-09 | FIX: Fix circular import problem | Eric Larson | |
2020-05-31 | pycode: Detect @overload decorators | Takeshi KOMIYA | |
2020-05-26 | refactor pycode: sort methods | Takeshi KOMIYA | |
2020-05-26 | Fix a mypy violation | Takeshi KOMIYA | |
2020-05-17 | Merge branch '3.x' | Takeshi KOMIYA | |
2020-05-07 | Merge branch '3.x' into 7497 | Takeshi KOMIYA | |
2020-05-07 | refactor: Sort visitor methods of _UnparseVisitor | Takeshi KOMIYA | |
2020-05-03 | Add stacklevel parameter to warnings.warn() call | Takeshi KOMIYA | |
2020-05-02 | refactor: Update type annotations | Takeshi KOMIYA | |
2020-04-30 | Merge branch '3.x' | Takeshi KOMIYA | |
2020-04-29 | Remove deprecated features marked as RemovedInSphinx40Warning | Takeshi KOMIYA | |
2020-04-27 | Merge branch '3.x' | Takeshi KOMIYA | |
2020-04-27 | pycode: Detect @final decorators | Takeshi KOMIYA | |
2020-04-26 | Merge branch '3.x' | Takeshi KOMIYA | |
2020-04-26 | refactor: pycode: visit_Import | Takeshi KOMIYA | |
2020-04-26 | pycode: Fix wrong type annotation | Takeshi KOMIYA | |
2020-04-26 | refactor: pycode: Add VariableCommentPicker.get_qualname_for() | Takeshi KOMIYA | |
2020-04-19 | refactor: Add Optional to type annotations | Takeshi KOMIYA | |
2020-04-18 | Merge branch '3.x' | Takeshi KOMIYA | |
2020-04-17 | Group together methods that relate to a python 3.8 deprecation | Eric Wieser | |
This will make it easier to remove them all at once in future | |||
2020-04-17 | Rewrite unparse to use ast.NodeVisitor | Eric Wieser | |
This should make it possible to reuse the same visitor to generate RST code. |