| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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+. | ||||
| * | 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: 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 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 |
| | | | |||||
| * | | FIX: Fix circular import problem | Eric Larson | 2020-06-09 | 1 | -1/+2 |
| |/ | |||||
| * | pycode: Detect @overload decorators | Takeshi KOMIYA | 2020-05-31 | 2 | -0/+37 |
| | | |||||
| * | 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 |
| | | | |||||
| | * | pycode: Detect @final decorators | Takeshi KOMIYA | 2020-04-28 | 2 | -0/+40 |
| | | | |||||
| | * | 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 |
| | | | |||||
| | * | refactor: Add Optional to type annotations | Takeshi KOMIYA | 2020-04-19 | 1 | -3/+3 |
| | | | |||||
| * | | 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. | ||||
| * | 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 |
| | | |||||
| * | 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 |
| |\ \ | |/ | |||||
| | * | Add sphinx.pycode.ast.parse() and unparse() | Takeshi KOMIYA | 2020-01-13 | 1 | -0/+80 |
| | | | |||||
| * | | Merge branch '2.0' | Takeshi KOMIYA | 2020-01-01 | 2 | -16/+75 |
| |\ \ | |/ | |||||
| | * | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 2 | -2/+2 |
| | | | |||||
| | * | mypy: Enable disallow_incomplete_defs flag for type checking | Takeshi KOMIYA | 2019-12-30 | 1 | -1/+1 |
| | | | |||||
| | * | Deprecate sphinx.util:detect_encoding() and ModuleAnalyzer.encoding | Takeshi KOMIYA | 2019-12-27 | 1 | -7/+17 |
| | | | |||||
| | * | Fix flake8 violations | Takeshi KOMIYA | 2019-12-27 | 1 | -2/+2 |
| | | | |||||
| | * | refactor: pycode: do not call endswith twice | Takeshi KOMIYA | 2019-12-27 | 1 | -3/+2 |
| | | | |||||
| | * | Fix flake8 violations | Takeshi KOMIYA | 2019-12-27 | 1 | -6/+6 |
| | | | |||||
| | * | Merge pull request #6907 from kpnr/patch-2 | Takeshi KOMIYA | 2019-12-27 | 1 | -6/+56 |
| | |\ | | | | | | | Non-ASCII & non utf-8 charset corruption fix | ||||
| | | * | Old get_module_source API restored, new version moved to ModuleAnalyzer ↵ | hkm | 2019-12-25 | 1 | -2/+52 |
| | | | | | | | | | | | | | class, tests updated | ||||
| | | * | Added test case for non ASCII & non UTF8 encoding Windows-1251 in ↵ | hkm | 2019-12-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | test_pycode section | ||||
| | | * | lost reference to source file name fixed. Test suit updated | hkm | 2019-12-15 | 1 | -4/+4 |
| | | | | |||||
| * | | | Merge branch '2.0' | Takeshi KOMIYA | 2019-12-22 | 1 | -1/+1 |
| |\ \ \ | |/ / | |||||
| | * | | Merge pull request #6906 from kpnr/patch-1 | Takeshi KOMIYA | 2019-12-22 | 1 | -1/+1 |
| | |\ \ | | | | | | | | | Update parser.py | ||||
| | | * | | Update parser.py | kpnr | 2019-12-12 | 1 | -1/+1 |
| | | |/ | | | | | | | encoding damages non-ASCII characters | ||||
| * | | | Merge branch '2.0' | Takeshi KOMIYA | 2019-12-21 | 1 | -1/+1 |
| |\ \ \ | |/ / | |||||
| | * | | Fix mypy violations (for mypy-0.761) | Takeshi KOMIYA | 2019-12-21 | 1 | -1/+1 |
| | |/ | |||||
| * | | Merge branch '2.0' | Takeshi KOMIYA | 2019-12-01 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | Fix mypy violations (for mypy-0.750) | Takeshi KOMIYA | 2019-11-30 | 1 | -1/+1 |
| | | | |||||
| * | | Fix inaccurate docstring for TokenProcessor.fetch_token() | Jon Dufresne | 2019-08-15 | 1 | -1/+1 |
| |/ | |||||
| * | Fix autodoc: autodoc_member_order_does not refer order of imports (refs: #6574) | Takeshi KOMIYA | 2019-07-13 | 1 | -0/+16 |
| | | |||||
| * | Merge branch '2.1.3' into 2.0 | Takeshi KOMIYA | 2019-07-13 | 1 | -1/+1 |
| |\ | |||||
| | * | Fix mypy violations (for mypy-0.720) | Takeshi KOMIYA | 2019-07-13 | 1 | -1/+1 |
| | | | |||||
| * | | Migrate to py3 style type annotation: sphinx.pycode.parser | Takeshi KOMIYA | 2019-07-06 | 1 | -79/+40 |
| | | | |||||
| * | | Migrate to py3 style type annotation: sphinx.pycode | Takeshi KOMIYA | 2019-07-06 | 1 | -20/+10 |
| |/ | |||||
