| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | refactor: Add Optional to type annotations | Takeshi KOMIYA | 2021-05-10 | 1 | -7/+7 |
| | | |||||
| * | refactor: Use PEP-526 based variable annotation (sphinx.pycode) | Takeshi KOMIYA | 2021-03-27 | 1 | -7/+7 |
| | | |||||
| * | 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-12-14 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | Fix pycode becomes slow | Takeshi KOMIYA | 2020-11-26 | 1 | -1/+1 |
| | | | | | | | | | On the renaming ModuleAnalyzer.parse(), I overlooked renaming a flag. | ||||
| * | | Fix flake8 warnings | Takeshi KOMIYA | 2020-11-25 | 1 | -0/+1 |
| | | | |||||
| * | | Merge branch '3.x' | Takeshi KOMIYA | 2020-11-22 | 1 | -5/+12 |
| |\ \ | |/ | |||||
| | * | Rename ModuleAnalyzer.parse() to analyze() | Takeshi KOMIYA | 2020-11-22 | 1 | -6/+12 |
| | | | | | | | | | | | The word "analyze" is much appropriate for "ModuleAnalyzer" instead of "parse". | ||||
| * | | Merge branch '3.x' | Takeshi KOMIYA | 2020-11-12 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | Merge pull request #8408 from francoisfreitag/isort | Takeshi KOMIYA | 2020-11-12 | 1 | -1/+1 |
| | |\ | | | | | | | Sort imports with isort | ||||
| | | * | 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. | ||||
| * | | | 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 | ||||
| * | | Merge branch '3.x' | Takeshi KOMIYA | 2020-07-24 | 1 | -1/+2 |
| |\ \ | |/ | |||||
| | * | refactor: pycode: Use OrderedDict to store variable comments | Takeshi KOMIYA | 2020-07-19 | 1 | -1/+2 |
| | | | | | | | | | | | | | 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 |
| |\ \ | |/ | |||||
| | * | Fix exception causes all over the codebase | Ram Rachum | 2020-06-14 | 1 | -5/+5 |
| | | | |||||
| * | | Merge tag 'v3.1.0' | Takeshi KOMIYA | 2020-07-05 | 1 | -0/+3 |
| |\ \ | |/ | |||||
| | * | pycode: Detect @overload decorators | Takeshi KOMIYA | 2020-05-31 | 1 | -0/+3 |
| | | | |||||
| | * | Add stacklevel parameter to warnings.warn() call | Takeshi KOMIYA | 2020-05-03 | 1 | -2/+2 |
| | | | |||||
| * | | Merge branch '3.x' | Takeshi KOMIYA | 2020-04-30 | 1 | -0/+2 |
| |\ \ | |/ | |||||
| | * | pycode: Detect @final decorators | Takeshi KOMIYA | 2020-04-28 | 1 | -0/+2 |
| | | | |||||
| * | | Remove deprecated features marked as RemovedInSphinx40Warning | Takeshi KOMIYA | 2020-04-29 | 1 | -22/+5 |
| |/ | |||||
| * | pycode: Support type annotations for variables | Takeshi KOMIYA | 2020-02-03 | 1 | -3/+5 |
| | | |||||
| * | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 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 |
| | | |||||
| * | 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 |
| | | |||||
| * | Migrate to py3 style type annotation: sphinx.pycode | Takeshi KOMIYA | 2019-07-06 | 1 | -20/+10 |
| | | |||||
| * | Fix broken code (my wrong...) | Takeshi KOMIYA | 2019-01-13 | 1 | -5/+0 |
| | | |||||
| * | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-13 | 1 | -1/+8 |
| |\ | |||||
| | * | Fix pycode could not handle egg files on windows | Takeshi KOMIYA | 2019-01-12 | 1 | -2/+4 |
| | | | |||||
| * | | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
| |\ \ | |/ | |||||
| | * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
| | | | |||||
| * | | Remove unnecessary encoding cookie from Python source files | Jon Dufresne | 2018-12-16 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie. | ||||
| * | | Merge pull request #5801 from jdufresne/modanalyzer-bytes | Takeshi KOMIYA | 2018-12-16 | 1 | -3/+1 |
| |\ \ | | | | | | | Remove unnecessary bytes type check in ModuleAnalyzer.for_string() | ||||
| | * | | Remove unnecessary bytes type check in ModuleAnalyzer.for_string() | Jon Dufresne | 2018-12-15 | 1 | -3/+1 |
| | | | | | | | | | | | | | | | | All uses always pass a str, never a bytes. Per the type signature, only str types are allowed. | ||||
| * | | | Avoid respecifying default encoding for .encode()/.decode() calls | Jon Dufresne | 2018-12-15 | 1 | -1/+1 |
| |/ / | | | | | | | | | | | | | | | | | | | | | In Python 3, both .encode() and .decode() default the encoding to 'utf-8'. See the docs: https://docs.python.org/3/library/stdtypes.html#str.encode https://docs.python.org/3/library/stdtypes.html#bytes.decode Simplify and shorten the code by using the default instead of respecifying it. | ||||
| * | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -11/+10 |
| | | | |||||
| * | | Remove print_function feature | Takeshi KOMIYA | 2018-12-15 | 1 | -1/+0 |
| | | | |||||
| * | | refactor: Replace six.StringIO by io.StringIO | Takeshi KOMIYA | 2018-12-15 | 1 | -3/+1 |
| | | | |||||
| * | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 |
| | | | |||||
| * | | Merge branch '1.8' | Takeshi KOMIYA | 2018-10-16 | 1 | -3/+3 |
| |\ \ | |/ | |||||
| | * | Fix mypy violations | Takeshi KOMIYA | 2018-10-16 | 1 | -3/+3 |
| | | | |||||
| * | | Replace all six.BytesIO with io.BytesIO | Jon Dufresne | 2018-09-23 | 1 | -1/+2 |
| | | | |||||
