summaryrefslogtreecommitdiff
path: root/sphinx/ext/coverage.py
Commit message (Collapse)AuthorAgeFilesLines
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* refactor: Use PEP-526 based variable annotation (sphinx.ext)Takeshi KOMIYA2021-03-151-8/+8
|
* A happy new year!Takeshi KOMIYA2021-01-011-1/+1
| | | | | | | .. note:: $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \; $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype
* Sort imports with isortFrançois Freitag2020-11-111-1/+1
| | | | | | | | | | | | Keep imports alphabetically sorted and their order homogeneous across Python source files. The isort project has more feature and is more active than the flake8-import-order plugin. Most issues caught were simply import ordering from the same module. Where imports were purposefully placed out of order, tag with isort:skip.
* fixed color imports in coverage.pyCielquan2020-05-311-3/+1
|
* reduced colors on info levelCielquan2020-05-311-9/+7
|
* fixed line lengthCielquan2020-05-311-6/+10
|
* merged new config options into coverage_show_missing_itemsCielquan2020-05-311-6/+5
|
* added config to log missing c/py coverageCielquan2020-05-311-3/+46
|
* refactor: Update type annotations in sphinx.ext.*Takeshi KOMIYA2020-02-161-1/+1
|
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* mypy: Enable disallow_incomplete_defs flag for type checkingTakeshi KOMIYA2019-12-301-1/+1
|
* Switch uses of __import__ to importlib.get_module()Jon Dufresne2019-08-171-1/+2
| | | | | | | | | | | | | | | The Python docs for __import__ recommend using importlib.get_module(). https://docs.python.org/3/library/functions.html#__import__ > Note: This is an advanced function that is not needed in everyday > Python programming, unlike importlib.import_module(). As importlib.get_module() uses the Python module cache and returns the module, this also allows simplifying many module cache checks of use of sys.modules. importlib.get_module() has been available since Python 3.3.
* Migrate to py3 style type annotation: sphinx.ext.coverageTakeshi KOMIYA2019-07-011-27/+13
|
* Support coverage_ignore_pyobjects in the coverage builderAdrián Chaves2019-05-151-3/+14
|
* Clean up import for annotationsTakeshi KOMIYA2019-03-061-1/+1
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-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.
* | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-13/+12
| |
* | Simplify open() call by removing default modeJon Dufresne2018-12-111-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').
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| |
* | Merge branch '1.8'Takeshi KOMIYA2018-10-161-1/+1
|\ \ | |/
| * Fix mypy violationsTakeshi KOMIYA2018-10-161-1/+1
| |
* | Remove uses of six.moves that did not cause any type errorsJon Dufresne2018-09-231-2/+1
| | | | | | | | | | Removal of the remaining imports may require passing "--python-version 3.5" to the mypy command.
* | Remove use of six.iteritems()Jon Dufresne2018-09-111-4/+3
|/ | | | In Python 3, dict.items() is always an iterator.
* Initial commitAndrés Delfino2018-06-071-1/+1
|
* 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-5/+6
|/
* Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+2
|
* Use flake8-import-orderTakeshi KOMIYA2018-01-281-1/+1
|
* builders: Add 'Builder.epilog' optionStephen Finucane2018-01-111-1/+5
| | | | | | | | | | | | 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>
* A happy new year!Takeshi KOMIYA2018-01-011-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
| |
* | Use loggersTakeshi KOMIYA2017-01-021-17/+16
| |
* | Adjust code to type annotationTakeshi KOMIYA2016-12-031-1/+1
| |
* | Add type-check annotations to sphinx.extTakeshi KOMIYA2016-11-161-7/+23
|/
* Refactor code using ``with`` syntaxTakeshi KOMIYA2016-05-261-16/+4
|
* Obligatory copyright update.Georg Brandl2016-01-141-1/+1
|
* Closes #1949: Use ``safe_getattr`` in the coverage builder to avoid aborting ↵Georg Brandl2015-07-251-1/+5
| | | | with descriptors that have custom behavior.
* Support PEP-440 version spec for developers.shimizukawa2015-03-141-1/+1
|
* ext: pep8 fixesGeorg Brandl2015-03-081-1/+2
|
* Merge branch 'stable'Georg Brandl2015-01-031-1/+1
|\
| * all: update copyrightGeorg Brandl2015-01-031-1/+1
| |
* | improve C coverage outputGeorg Brandl2014-10-061-3/+3
| |
* | [WIP] parallel readGeorg Brandl2014-09-221-1/+1
| |
* | Change extension setup() return value to a dictionary of metadata.Georg Brandl2014-09-221-1/+1
| | | | | | | | This makes it possible to introduce more metadata values later.