Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Merge pull request #8408 from francoisfreitag/isort | Takeshi KOMIYA | 2020-11-12 | 3 | -4/+3 | |
| |\ | | | | | | | Sort imports with isort | |||||
| | * | Sort imports with isort | François Freitag | 2020-11-11 | 3 | -4/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | Merge branch '3.x' | Takeshi KOMIYA | 2020-11-10 | 1 | -6/+7 | |
|\ \ \ | |/ / | ||||||
| * | | Fix #8372: autodoc: autoclass directive became slower than Sphinx-3.2 | Takeshi KOMIYA | 2020-11-08 | 1 | -6/+7 | |
| |/ | | | | | | | | | | | * The result of ModuleAnalyzer.parse() is not cached * autodoc tries to search overloaded constructor methods to the root class even if a definition found | |||||
* | | Fix flake8 issue | François Freitag | 2020-11-07 | 1 | -1/+0 | |
| | | ||||||
* | | Drop code for supporting py35 | Takeshi KOMIYA | 2020-11-06 | 1 | -7/+2 | |
| | | ||||||
* | | 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(). | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-07-24 | 2 | -2/+4 | |
|\ \ | |/ | ||||||
| * | refactor: pycode: Use OrderedDict to store variable comments | Takeshi KOMIYA | 2020-07-19 | 2 | -2/+4 | |
| | | | | | | | | | | | | 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 branch '3.x' | Takeshi KOMIYA | 2020-07-05 | 1 | -5/+5 | |
|\ \ | |/ | ||||||
| * | Merge pull request #7832 from cool-RR/2020-06-11-raise-from | Takeshi KOMIYA | 2020-06-29 | 1 | -5/+5 | |
| |\ | | | | | | | Fix exception causes all over the codebase | |||||
| | * | Fix exception causes all over the codebase | Ram Rachum | 2020-06-14 | 1 | -5/+5 | |
| | | | ||||||
* | | | Merge tag 'v3.1.1' | Takeshi KOMIYA | 2020-07-05 | 1 | -1/+2 | |
|\ \ \ | |/ / | ||||||
| * | | FIX: Fix circular import problem | Eric Larson | 2020-06-09 | 1 | -1/+2 | |
| |/ | ||||||
* | | Merge tag 'v3.1.0' | Takeshi KOMIYA | 2020-07-05 | 2 | -0/+37 | |
|\ \ | |/ | ||||||
| * | pycode: Detect @overload decorators | Takeshi KOMIYA | 2020-05-31 | 2 | -0/+37 | |
| | | ||||||
* | | 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 | 3 | -37/+63 | |
| |\ | ||||||
| | * | Add stacklevel parameter to warnings.warn() call | Takeshi KOMIYA | 2020-05-03 | 1 | -2/+2 | |
| | | | ||||||
| * | | 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 | 2 | -1/+15 | |
| | | | ||||||
* | | | Merge branch '3.x' | Takeshi KOMIYA | 2020-04-30 | 2 | -0/+40 | |
|\ \ \ | | |/ | |/| | ||||||
| * | | pycode: Detect @final decorators | Takeshi KOMIYA | 2020-04-28 | 2 | -0/+40 | |
| | | | ||||||
* | | | Remove deprecated features marked as RemovedInSphinx40Warning | Takeshi KOMIYA | 2020-04-29 | 1 | -22/+5 | |
| | | | ||||||
* | | | Merge branch '3.x' | Takeshi KOMIYA | 2020-04-28 | 1 | -35/+21 | |
|\ \ \ | |/ / | ||||||
| * | | 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 '3.x' | Takeshi KOMIYA | 2020-04-27 | 1 | -3/+3 | |
|\ \ \ | |/ / | ||||||
| * | | refactor: Add Optional to type annotations | Takeshi KOMIYA | 2020-04-19 | 1 | -3/+3 | |
| |/ | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-04-18 | 1 | -22/+15 | |
|\ \ | |/ | ||||||
| * | Deduplicate some code in `pycode.ast` | Eric Wieser | 2020-04-16 | 1 | -22/+15 | |
| | | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-04-13 | 1 | -1/+4 | |
|\ \ | |/ | ||||||
| * | Fix #7461: autodoc: empty tuple in type annotation is not shown correctly | Takeshi KOMIYA | 2020-04-12 | 1 | -1/+4 | |
| | | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-03-21 | 1 | -1/+33 | |
|\ \ | |/ | ||||||
| * | Fix #7304: pycode: Support operators (BinOp, BoolOp and UnaryOp) | Takeshi KOMIYA | 2020-03-14 | 1 | -1/+33 | |
| | | ||||||
* | | Deprecate codes for python 3.5 | Takeshi KOMIYA | 2020-03-07 | 1 | -1/+1 | |
|/ | ||||||
* | py domain: Support lambda functions in function signature | Takeshi KOMIYA | 2020-02-16 | 1 | -1/+67 | |
| | ||||||
* | Merge branch '2.0' | Takeshi KOMIYA | 2020-02-09 | 3 | -5/+34 | |
|\ | ||||||
| * | autodoc: Support type_comment styled type annotation for variables | Takeshi KOMIYA | 2020-02-03 | 2 | -3/+7 | |
| | | ||||||
| * | pycode: Support type annotations for variables | Takeshi KOMIYA | 2020-02-03 | 2 | -5/+30 | |
| | | ||||||
* | | Merge branch '2.0' | Takeshi KOMIYA | 2020-01-19 | 1 | -0/+80 | |
|\ \ | |/ |