| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 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 |
| | | | |||||
| * | | Merge branch 'master' into HEAD | Takeshi KOMIYA | 2018-09-22 | 1 | -3/+3 |
| |\ \ | |||||
| | * \ | Merge branch 'master' into drop-iteritems | Takeshi KOMIYA | 2018-09-22 | 1 | -1/+1 |
| | |\ \ | | |/ | |||||
| | | * | Fix mypy violations | Takeshi KOMIYA | 2018-09-18 | 1 | -1/+1 |
| | | | | |||||
| | * | | Remove use of six.iteritems() | Jon Dufresne | 2018-09-11 | 1 | -2/+2 |
| | |/ | | | | | | | In Python 3, dict.items() is always an iterator. | ||||
| * | | Remove unnecessary object from class definitions | Jon Dufresne | 2018-09-11 | 1 | -1/+1 |
| |/ | | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary. | ||||
| * | Fix #5290: autodoc: failed to analyze source code in egg package | Takeshi KOMIYA | 2018-09-06 | 1 | -1/+18 |
| | | |||||
| * | Merge branch '1.7' | Takeshi KOMIYA | 2018-03-21 | 1 | -20/+0 |
| |\ | |||||
| | * | Fix #4754: sphinx/pycode/__init__.py raises AttributeError | Takeshi KOMIYA | 2018-03-19 | 1 | -20/+0 |
| | | | |||||
| * | | Merge branch '1.7' | Takeshi KOMIYA | 2018-03-18 | 1 | -3/+2 |
| |\ \ | |/ | |||||
| | * | Revert "Use typing.TYPE_CHECKING for typehints" | Takeshi KOMIYA | 2018-03-13 | 1 | -3/+2 |
| | | | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4. | ||||
| * | | Merge branch '1.7' | Takeshi KOMIYA | 2018-02-18 | 1 | -2/+3 |
| |\ \ | |/ | |||||
| | * | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | 2018-02-14 | 1 | -2/+3 |
| | | | |||||
| * | | Update type annotations | Takeshi KOMIYA | 2018-02-04 | 1 | -3/+6 |
| |/ | |||||
| * | Merge branch 'happy_new_year' into master | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 |
| |\ | |||||
| | * | A happy new year! | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 |
| | | | |||||
| * | | Fix ResourceWarning on pycode | Takeshi KOMIYA | 2017-12-15 | 1 | -3/+3 |
| | | | |||||
| * | | Improve exception when parsing a Python file fails. | Peter Cock | 2017-10-13 | 1 | -1/+1 |
| | | | |||||
| * | | Remove unused regexp | Takeshi KOMIYA | 2017-07-26 | 1 | -4/+0 |
| | | | |||||
| * | | pycode: Replace pgen2 by own parser | Takeshi KOMIYA | 2017-07-26 | 1 | -272/+39 |
| |/ | |||||
| * | Merge branch 'stable' | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 |
| |\ | |||||
| | * | Year++ | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 |
| | | | |||||
| * | | Fix #3348: Show decorators in literalinclude and viewcode directives | Ray Lehtiniemi | 2017-03-10 | 1 | -1/+6 |
| | | | | | | | | | Signed-off-by: Ray Lehtiniemi <rayl@mail.com> | ||||
| * | | Upgrade to mypy-0.5 | Takeshi KOMIYA | 2017-03-03 | 1 | -1/+1 |
| | | | |||||
| * | | Reduce DeprecationWarnings for regexp | Takeshi KOMIYA | 2017-02-17 | 1 | -1/+1 |
| | | | |||||
