summaryrefslogtreecommitdiff
path: root/sphinx/pycode
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add sphinx.pycode.ast.parse() and unparse()Takeshi KOMIYA2020-01-131-0/+80
| |
* | Merge branch '2.0'Takeshi KOMIYA2020-01-012-16/+75
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2020-01-012-2/+2
| |
| * mypy: Enable disallow_incomplete_defs flag for type checkingTakeshi KOMIYA2019-12-301-1/+1
| |
| * Deprecate sphinx.util:detect_encoding() and ModuleAnalyzer.encodingTakeshi KOMIYA2019-12-271-7/+17
| |
| * Fix flake8 violationsTakeshi KOMIYA2019-12-271-2/+2
| |
| * refactor: pycode: do not call endswith twiceTakeshi KOMIYA2019-12-271-3/+2
| |
| * Fix flake8 violationsTakeshi KOMIYA2019-12-271-6/+6
| |
| * Merge pull request #6907 from kpnr/patch-2Takeshi KOMIYA2019-12-271-6/+56
| |\ | | | | | | Non-ASCII & non utf-8 charset corruption fix
| | * Old get_module_source API restored, new version moved to ModuleAnalyzer ↵hkm2019-12-251-2/+52
| | | | | | | | | | | | class, tests updated
| | * Added test case for non ASCII & non UTF8 encoding Windows-1251 in ↵hkm2019-12-151-1/+1
| | | | | | | | | | | | test_pycode section
| | * lost reference to source file name fixed. Test suit updatedhkm2019-12-151-4/+4
| | |
* | | Merge branch '2.0'Takeshi KOMIYA2019-12-221-1/+1
|\ \ \ | |/ /
| * | Merge pull request #6906 from kpnr/patch-1Takeshi KOMIYA2019-12-221-1/+1
| |\ \ | | | | | | | | Update parser.py
| | * | Update parser.pykpnr2019-12-121-1/+1
| | |/ | | | | | | encoding damages non-ASCII characters
* | | Merge branch '2.0'Takeshi KOMIYA2019-12-211-1/+1
|\ \ \ | |/ /
| * | Fix mypy violations (for mypy-0.761)Takeshi KOMIYA2019-12-211-1/+1
| |/
* | Merge branch '2.0'Takeshi KOMIYA2019-12-011-1/+1
|\ \ | |/
| * Fix mypy violations (for mypy-0.750)Takeshi KOMIYA2019-11-301-1/+1
| |
* | Fix inaccurate docstring for TokenProcessor.fetch_token()Jon Dufresne2019-08-151-1/+1
|/
* Fix autodoc: autodoc_member_order_does not refer order of imports (refs: #6574)Takeshi KOMIYA2019-07-131-0/+16
|
* Merge branch '2.1.3' into 2.0Takeshi KOMIYA2019-07-131-1/+1
|\
| * Fix mypy violations (for mypy-0.720)Takeshi KOMIYA2019-07-131-1/+1
| |
* | Migrate to py3 style type annotation: sphinx.pycode.parserTakeshi KOMIYA2019-07-061-79/+40
| |
* | Migrate to py3 style type annotation: sphinx.pycodeTakeshi KOMIYA2019-07-061-20/+10
|/
* Fix #6451: autodoc: generates docs for "optional import"ed modules as variablesTakeshi KOMIYA2019-06-081-0/+11
|
* Add docstring to pycode.parserTakeshi KOMIYA2019-04-241-0/+9
|
* pycode: Support "async" syntaxTakeshi KOMIYA2019-04-231-0/+4
|
* Clean up import for annotationsTakeshi KOMIYA2019-03-061-1/+1
|
* Fix broken code (my wrong...)Takeshi KOMIYA2019-01-131-5/+0
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-131-1/+8
|\
| * Fix pycode could not handle egg files on windowsTakeshi KOMIYA2019-01-121-2/+4
| |
* | Merge branch '1.8'Takeshi KOMIYA2019-01-022-2/+2
|\ \ | |/
| * A happy new year!Takeshi KOMIYA2019-01-022-2/+2
| |
* | Replace use of six.text_type with strJon Dufresne2018-12-181-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 filesJon Dufresne2018-12-162-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 stringsTakeshi KOMIYA2018-12-161-3/+3
| |
* | Merge pull request #5801 from jdufresne/modanalyzer-bytesTakeshi KOMIYA2018-12-161-3/+1
|\ \ | | | | | | Remove unnecessary bytes type check in ModuleAnalyzer.for_string()
| * | Remove unnecessary bytes type check in ModuleAnalyzer.for_string()Jon Dufresne2018-12-151-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-utf8Takeshi KOMIYA2018-12-162-2/+2
|\ \ \ | | | | | | | | Avoid respecifying default encoding for .encode()/.decode() calls
| * | | Avoid respecifying default encoding for .encode()/.decode() callsJon Dufresne2018-12-152-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 syntaxJon Dufresne2018-12-151-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 KOMIYA2018-12-152-37/+35
| |
* | Remove print_function featureTakeshi KOMIYA2018-12-151-1/+0
| |
* | refactor: Replace six.StringIO by io.StringIOTakeshi KOMIYA2018-12-151-3/+1
| |
* | Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA2018-12-151-5/+5
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-242-1/+3
| |
* | Merge branch '1.8'Takeshi KOMIYA2018-10-161-3/+3
|\ \ | |/
| * Fix mypy violationsTakeshi KOMIYA2018-10-161-3/+3
| |
* | Merge pull request #5483 from jdufresne/bytesioTakeshi KOMIYA2018-09-251-1/+2
|\ \ | | | | | | Replace all six.BytesIO with io.BytesIO