Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Move to py3 mode for mypy (and remove many "type: ignore" comments) | Takeshi KOMIYA | 2018-12-15 | 1 | -2/+1 | |
| | | ||||||
* | | Simplify open() call by removing default mode | Jon Dufresne | 2018-12-11 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | The open() function opens files in read-only text mode by default. Drop the mode argument to be slightly simpler and more idiomatic. https://docs.python.org/3/library/functions.html#open > The default mode is 'r' (open for reading text, synonym of 'rt'). | |||||
* | | Use StringList for params to docutils because of expected | Takeshi KOMIYA | 2018-12-03 | 1 | -2/+2 | |
| | | ||||||
* | | Fix annotations for Directives (Replace N_co with nodes.Node) | Takeshi KOMIYA | 2018-12-01 | 1 | -5/+5 | |
| | | ||||||
* | | Fix annotations for directives | Takeshi KOMIYA | 2018-11-29 | 1 | -14/+17 | |
| | | ||||||
* | | refactor: Use super() to call methods of superclass | Takeshi KOMIYA | 2018-11-28 | 1 | -1/+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-11-01 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Fix #5471: Show appropriate warning for deprecated APIs | Takeshi KOMIYA | 2018-10-17 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch 'master' into HEAD | Takeshi KOMIYA | 2018-09-22 | 1 | -2/+2 | |
|\ \ | ||||||
| * | | Prefer builtin open() over io.open() and codecs.open() | Jon Dufresne | 2018-09-11 | 1 | -2/+2 | |
| |/ | | | | | | | | | | | | | | | | | | | | | | | In Python3, the functions io.open() is an alias of the builtin open() and codecs.open() is functionally equivalent. To reduce indirection, number of imports, and number of patterns, always prefer the builtin. https://docs.python.org/3/library/io.html#high-level-module-interface > io.open() > > This is an alias for the builtin open() function. | |||||
* | | 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. | |||||
* | Merge branch '1.7' | Takeshi KOMIYA | 2018-06-09 | 1 | -1/+1 | |
|\ | ||||||
| * | Fix mypy violation | Takeshi KOMIYA | 2018-06-09 | 1 | -1/+1 | |
| | | ||||||
* | | Fix #4927: Display a warning when invalid values are passed to ↵ | Takeshi KOMIYA | 2018-05-22 | 1 | -8/+2 | |
| | | | | | | | | linenothreshold option of highlight directive | |||||
* | | Deprecate highlightlang directive | Takeshi KOMIYA | 2018-04-15 | 1 | -1/+14 | |
| | | | | | | | | highlightlang directive is not documented, and marked as old in v0.2. | |||||
* | | Add SphinxDirective as a helper | Takeshi KOMIYA | 2018-03-31 | 1 | -11/+10 | |
| | | ||||||
* | | Merge branch '1.7' | Takeshi KOMIYA | 2018-03-18 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Revert "Use typing.TYPE_CHECKING for typehints" | Takeshi KOMIYA | 2018-03-13 | 1 | -2/+2 | |
| | | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4. | |||||
* | | Merge branch 'master' into dont_stringify_exceptions | Takeshi KOMIYA | 2018-03-04 | 1 | -3/+3 | |
|\ \ | ||||||
| * | | Make console and warning messages translatable | Takeshi KOMIYA | 2018-03-03 | 1 | -3/+3 | |
| | | | ||||||
* | | | Use six.text_type to stringify exceptions | Takeshi KOMIYA | 2018-03-03 | 1 | -2/+3 | |
|/ / | | | | | | | | | On py2, an exception having i18nized message causes UnicodeError on stringify. This uses ``six.text_type()`` to stringify them instead. | |||||
* | | Merge branch '1.7' | Takeshi KOMIYA | 2018-02-18 | 1 | -2/+2 | |
|\ \ | |/ | ||||||
| * | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | 2018-02-14 | 1 | -2/+2 | |
| | | ||||||
* | | Update type annotations | Takeshi KOMIYA | 2018-02-04 | 1 | -0/+1 | |
|/ | ||||||
* | Use flake8-import-order | Takeshi KOMIYA | 2018-01-28 | 1 | -1/+1 | |
| | ||||||
* | 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 | |
| | | ||||||
* | | remove unnecessary else clauses in for loop | Srinivas Reddy Thatiparthy | 2017-08-19 | 1 | -8/+7 | |
| | | ||||||
* | | pycode: Replace pgen2 by own parser | Takeshi KOMIYA | 2017-07-26 | 1 | -1/+1 | |
|/ | ||||||
* | Fix #3833: command line messages are translated unintentionally | Takeshi KOMIYA | 2017-06-25 | 1 | -11/+11 | |
| | ||||||
* | Fix #3770: Fix KeyError from code-block directive | Takeshi KOMIYA | 2017-05-21 | 1 | -2/+2 | |
| | ||||||
* | Fix #3755: incorrectly warns about dedent with literalinclude | Takeshi KOMIYA | 2017-05-19 | 1 | -6/+9 | |
| | ||||||
* | Fix typo in 'emphasize-lines' | Ray Lehtiniemi | 2017-04-12 | 1 | -1/+1 | |
| | | | | Signed-off-by: Ray Lehtiniemi <rayl@mail.com> | |||||
* | Fix #3108: Show warning if :start-at: and other literalinclude options does ↵ | Takeshi KOMIYA | 2017-03-26 | 1 | -0/+10 | |
| | | | | not match to the text | |||||
* | Merge branch 'stable' | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 | |
|\ | ||||||
| * | Year++ | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 | |
| | | ||||||
* | | Upgrade to mypy-0.5 | Takeshi KOMIYA | 2017-03-03 | 1 | -1/+1 | |
| | | ||||||
* | | Fix a loop | Takeshi KOMIYA | 2017-02-25 | 1 | -1/+1 | |
| | | ||||||
* | | literalinclude directive allows combination of :pyobject: and :lines: | Takeshi KOMIYA | 2017-02-22 | 1 | -1/+0 | |
| | | ||||||
* | | Show warning if :lines: and :emphasize-lines: get out of range | Takeshi KOMIYA | 2017-02-21 | 1 | -18/+36 | |
| | | ||||||
* | | Fix flake8 violation | Takeshi KOMIYA | 2017-02-18 | 1 | -1/+1 | |
| | | ||||||
* | | Emit warning if over dedent has detected on ``literalinclude`` directive | Takeshi KOMIYA | 2017-02-18 | 1 | -10/+18 | |
| | | ||||||
* | | Fix flake8 violation | Takeshi KOMIYA | 2017-02-18 | 1 | -1/+1 | |
| | | ||||||
* | | Merge branch 'master' into refactor_literalinclude | Takeshi KOMIYA | 2017-02-17 | 1 | -1/+1 | |
|\ \ | ||||||
| * \ | Merge branch 'master' into literalincludelines | Jean-François B | 2017-02-13 | 1 | -5/+17 | |
| |\ \ | ||||||
| * | | | Fix an issue with lineno-start and a flake8 violation | jfbu | 2017-02-10 | 1 | -4/+6 | |
| | | | | ||||||
| * | | | If ``:start-after:`` is used, make ``:lines:`` relative (close: #3412) | jfbu | 2017-02-10 | 1 | -27/+29 | |
| | |/ | |/| | ||||||
* | | | Add testcase for :lineno-match: option | Takeshi KOMIYA | 2017-02-17 | 1 | -7/+7 | |
| | | | ||||||
* | | | parselinenos() raises out of range error | Takeshi KOMIYA | 2017-02-13 | 1 | -5/+1 | |
| | | |