summaryrefslogtreecommitdiff
path: root/sphinx/ext/doctest.py
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-19/+18
| | |
| * | refactor: Replace six.StringIO by io.StringIOTakeshi KOMIYA2018-12-151-1/+1
| | |
* | | Fix #5770: doctest: Follow highlight_language on highlighting doctest blockTakeshi KOMIYA2018-12-151-2/+8
|/ /
* | Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA2018-12-151-13/+8
| |
* | Fix annotations for Directives (Replace N_co with nodes.Node)Takeshi KOMIYA2018-12-011-2/+2
| |
* | Fix annotations for extensionsTakeshi KOMIYA2018-12-011-1/+2
| |
* | Fix annotations for minor methods and functionsTakeshi KOMIYA2018-11-301-2/+2
| |
* | Merge pull request #5675 from tk0miya/refactor_superTakeshi KOMIYA2018-11-281-1/+1
|\ \ | | | | | | refactor: Use super() to call methods of superclass
| * | refactor: Use super() to call methods of superclassTakeshi KOMIYA2018-11-281-1/+1
| | |
* | | Fix annotaions for extensionsTakeshi KOMIYA2018-11-281-2/+2
|/ /
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| |
* | Remove use of six.binary_typeJon Dufresne2018-11-111-4/+2
| | | | | | | | | | | | Remove type checks for cases that don't apply to Python 3. For remaining uses, use bytes instead
* | Replace all six.itervalues()/.iteritems() with .values()/.items()Jon Dufresne2018-09-231-5/+5
| |
* | Merge branch 'master' into HEADTakeshi KOMIYA2018-09-221-33/+24
|\ \
| * | Fix flake8 violationTakeshi KOMIYA2018-09-221-1/+0
| | |
| * | Merge branch 'master' into openTakeshi KOMIYA2018-09-221-30/+22
| |\ \
| | * | refactoring: Drop PY2 and PY3 flagsTakeshi KOMIYA2018-09-221-29/+21
| | |/
| | * Fix #5417: Sphinx fails to build with syntax error in Python 2.7.5Takeshi KOMIYA2018-09-161-1/+1
| | |
| * | Prefer builtin open() over io.open() and codecs.open()Jon Dufresne2018-09-111-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 definitionsJon Dufresne2018-09-111-2/+2
|/ | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary.
* Ref #5273: doctest: added a missing type hintAntti Kaihola2018-08-161-1/+1
|
* Fix #5273: doctest: add :skipif: option for doctest directivesAntti Kaihola2018-08-071-2/+15
| | | | This option allows conditional skipping of doctests.
* refactor: Replace Directive by SphinxDirectiveTakeshi KOMIYA2018-05-111-2/+3
|
* Merge branch '1.7'Takeshi KOMIYA2018-04-091-2/+2
|\
| * Fix #4783: Sphinx crashed when drives of srcdir and outdir are differentTakeshi KOMIYA2018-04-021-2/+2
| |
* | Merge branch '1.7'Takeshi KOMIYA2018-03-181-2/+2
|\ \ | |/
| * Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-2/+2
| | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* | Make console and warning messages translatableTakeshi KOMIYA2018-03-031-9/+9
|/
* Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+2
|
* Avoid misreporting line numberZac-HD2018-02-091-2/+20
|
* Get correct filename for each doctest blockZac-HD2018-02-091-22/+33
| | | | | This is complicated because doctests may be included from other files, eg. dosctrings in a Python module.
* Use flake8-import-orderTakeshi KOMIYA2018-01-281-8/+7
|
* Fix packaging module can't handle 3.7.0a4+ correctlyTakeshi KOMIYA2018-01-251-2/+2
|
* Fix #4137: doctest: Make doctest and testcode blocks highlightedTakeshi KOMIYA2018-01-141-1/+5
|
* Merge pull request #4354 from stephenfin/builder-success-messageTakeshi KOMIYA2018-01-131-0/+2
|\ | | | | Add 'Builder.epilog' attribute
| * builders: Add 'Builder.epilog' optionStephen Finucane2018-01-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | This allows builders to emit a final epilog message containing information such as where resulting files can be found. This is only emitted if the build was successful. This allows us to remove this content from the 'make_mode' tool and the legacy 'Makefile' and 'make.bat' templates. There's room for more dramatic simplification of the former, but this will come later. Signed-off-by: Stephen Finucane <stephen@that.guru>
* | Fix #4183: doctest: ``:pyversion:`` option also follows PEP-440 specificationTakeshi KOMIYA2018-01-081-23/+16
|/
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|
* Fix mypy violations (for mypy-0.520)Takeshi KOMIYA2017-07-151-16/+16
|
* Update type annotations for new mypyTakeshi KOMIYA2017-05-071-1/+1
|
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |
* | Upgrade to mypy-0.5Takeshi KOMIYA2017-03-031-1/+1
| |
* | Fix mypy violationsTakeshi KOMIYA2017-02-211-4/+3
| |
* | Add mypy annotationsTakeshi KOMIYA2017-02-101-0/+1
| |
* | Remove unused "type: ignore"Takeshi KOMIYA2017-02-061-1/+1
| |
* | Fix mypy violationTakeshi KOMIYA2017-01-281-1/+1
| |
* | From version 1.5 to 1.6. Warnings wrapped with locale.Marco Buttu2017-01-261-5/+6
| |
* | In case of wrong option, warn the right reason.Marco Buttu2017-01-251-2/+7
| | | | | | | | | | | | For instance, in case of `:options: +SKIPO` the message was "missing '+' or '-' in +SKIPO option`. Now it will be "SKIPO is not a valid option."
* | Comparison made by distutils.version.LooseVersionMarco Buttu2017-01-151-3/+3
| |