Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | 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 | |
|/ | ||||||
* | Fix #6451: autodoc: generates docs for "optional import"ed modules as variables | Takeshi KOMIYA | 2019-06-08 | 1 | -0/+11 | |
| | ||||||
* | Add docstring to pycode.parser | Takeshi KOMIYA | 2019-04-24 | 1 | -0/+9 | |
| | ||||||
* | pycode: Support "async" syntax | Takeshi KOMIYA | 2019-04-23 | 1 | -0/+4 | |
| | ||||||
* | Clean up import for annotations | Takeshi KOMIYA | 2019-03-06 | 1 | -1/+1 | |
| | ||||||
* | 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 | 2 | -2/+2 | |
|\ \ | |/ | ||||||
| * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 2 | -2/+2 | |
| | | ||||||
* | | Replace use of six.text_type with str | Jon Dufresne | 2018-12-18 | 1 | -3/+1 | |
| | | | | | | | | | | This removes the last use of the six package allowing Sphinx to remove it as a dependency. | |||||
* | | Remove unnecessary encoding cookie from Python source files | Jon Dufresne | 2018-12-16 | 2 | -2/+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. | |||||
* | | refactor: Remove u-prefix from strings | Takeshi KOMIYA | 2018-12-16 | 1 | -3/+3 | |
| | | ||||||
* | | 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. | |||||
* | | | Merge pull request #5803 from jdufresne/encoding-utf8 | Takeshi KOMIYA | 2018-12-16 | 2 | -2/+2 | |
|\ \ \ | | | | | | | | | Avoid respecifying default encoding for .encode()/.decode() calls | |||||
| * | | | Avoid respecifying default encoding for .encode()/.decode() calls | Jon Dufresne | 2018-12-15 | 2 | -2/+2 | |
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
* | | | Use Python 3 super() argument-less syntax | Jon Dufresne | 2018-12-15 | 1 | -4/+4 | |
|/ / | | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super | |||||
* | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 2 | -37/+35 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | Move to py3 mode for mypy (and remove many "type: ignore" comments) | Takeshi KOMIYA | 2018-12-15 | 1 | -5/+5 | |
| | | ||||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 2 | -1/+3 | |
| | | ||||||
* | | Merge branch '1.8' | Takeshi KOMIYA | 2018-10-16 | 1 | -3/+3 | |
|\ \ | |/ | ||||||
| * | Fix mypy violations | Takeshi KOMIYA | 2018-10-16 | 1 | -3/+3 | |
| | | ||||||
* | | Merge pull request #5483 from jdufresne/bytesio | Takeshi KOMIYA | 2018-09-25 | 1 | -1/+2 | |
|\ \ | | | | | | | Replace all six.BytesIO with io.BytesIO |