Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | refactor: Update type annotations in sphinx.ext.* | Takeshi KOMIYA | 2020-02-16 | 1 | -1/+1 |
| | |||||
* | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| | |||||
* | mypy: Enable disallow_incomplete_defs flag for type checking | Takeshi KOMIYA | 2019-12-30 | 1 | -1/+1 |
| | |||||
* | Switch uses of __import__ to importlib.get_module() | Jon Dufresne | 2019-08-17 | 1 | -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.coverage | Takeshi KOMIYA | 2019-07-01 | 1 | -27/+13 |
| | |||||
* | Support coverage_ignore_pyobjects in the coverage builder | Adrián Chaves | 2019-05-15 | 1 | -3/+14 |
| | |||||
* | Clean up import for annotations | Takeshi KOMIYA | 2019-03-06 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -13/+12 |
| | | |||||
* | | 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'). | ||||
* | | 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 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix mypy violations | Takeshi KOMIYA | 2018-10-16 | 1 | -1/+1 |
| | | |||||
* | | Remove uses of six.moves that did not cause any type errors | Jon Dufresne | 2018-09-23 | 1 | -2/+1 |
| | | | | | | | | | | Removal of the remaining imports may require passing "--python-version 3.5" to the mypy command. | ||||
* | | Remove use of six.iteritems() | Jon Dufresne | 2018-09-11 | 1 | -4/+3 |
|/ | | | | In Python 3, dict.items() is always an iterator. | ||||
* | Initial commit | Andrés Delfino | 2018-06-07 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | | Make console and warning messages translatable | Takeshi KOMIYA | 2018-03-03 | 1 | -5/+6 |
|/ | |||||
* | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | 2018-02-14 | 1 | -2/+2 |
| | |||||
* | Use flake8-import-order | Takeshi KOMIYA | 2018-01-28 | 1 | -1/+1 |
| | |||||
* | builders: Add 'Builder.epilog' option | Stephen Finucane | 2018-01-11 | 1 | -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 KOMIYA | 2018-01-01 | 1 | -1/+1 |
| | |||||
* | 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 |
| | | |||||
* | | Use loggers | Takeshi KOMIYA | 2017-01-02 | 1 | -17/+16 |
| | | |||||
* | | Adjust code to type annotation | Takeshi KOMIYA | 2016-12-03 | 1 | -1/+1 |
| | | |||||
* | | Add type-check annotations to sphinx.ext | Takeshi KOMIYA | 2016-11-16 | 1 | -7/+23 |
|/ | |||||
* | Refactor code using ``with`` syntax | Takeshi KOMIYA | 2016-05-26 | 1 | -16/+4 |
| | |||||
* | Obligatory copyright update. | Georg Brandl | 2016-01-14 | 1 | -1/+1 |
| | |||||
* | Closes #1949: Use ``safe_getattr`` in the coverage builder to avoid aborting ↵ | Georg Brandl | 2015-07-25 | 1 | -1/+5 |
| | | | | with descriptors that have custom behavior. | ||||
* | Support PEP-440 version spec for developers. | shimizukawa | 2015-03-14 | 1 | -1/+1 |
| | |||||
* | ext: pep8 fixes | Georg Brandl | 2015-03-08 | 1 | -1/+2 |
| | |||||
* | Merge branch 'stable' | Georg Brandl | 2015-01-03 | 1 | -1/+1 |
|\ | |||||
| * | all: update copyright | Georg Brandl | 2015-01-03 | 1 | -1/+1 |
| | | |||||
* | | improve C coverage output | Georg Brandl | 2014-10-06 | 1 | -3/+3 |
| | | |||||
* | | [WIP] parallel read | Georg Brandl | 2014-09-22 | 1 | -1/+1 |
| | | |||||
* | | Change extension setup() return value to a dictionary of metadata. | Georg Brandl | 2014-09-22 | 1 | -1/+1 |
| | | | | | | | | This makes it possible to introduce more metadata values later. | ||||
* | | Return version from setup() for all sphinx.ext extensions. | Georg Brandl | 2014-09-03 | 1 | -0/+2 |
| | | |||||
* | | remove unnecessary `list()` wrappers. In some places, I replaced ↵ | Takayuki Shimizukawa | 2014-05-25 | 1 | -2/+1 |
| | | | | | | | | `iterable.sort()` with `sorted(iterable)`. | ||||
* | | wrap py3 iterators with list() for each places that expect a list object. ↵ | Takayuki Shimizukawa | 2014-04-30 | 1 | -1/+1 |
| | | | | | | | | refs #1350. | ||||
* | | use six privided iteritems(),itervalues() to support py2/py3 in one source. ↵ | Takayuki Shimizukawa | 2014-04-29 | 1 | -3/+4 |
| | | | | | | | | refs #1350. | ||||
* | | use six privided functions/classes to support py2/py3 in one source. refs #1350. | Takayuki Shimizukawa | 2014-04-29 | 1 | -1/+2 |
| | | |||||
* | | Update copyright year. | Georg Brandl | 2014-03-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Update copyright year. | Georg Brandl | 2014-03-01 | 1 | -1/+1 |
| | | |||||
* | | Modernize the code now that Python 2.5 is no longer supported | Dmitry Shachnev | 2014-01-19 | 1 | -1/+1 |
|/ | | | | | | | | | | | - Use print function instead of print statement; - Use new exception handling; - Use in operator instead of has_key(); - Do not use tuple arguments in functions; - Other miscellaneous improvements. This is based on output of `futurize --stage1`, with some manual corrections. | ||||
* | Copyright update. | Georg Brandl | 2013-01-01 | 1 | -1/+1 |
| |