summaryrefslogtreecommitdiff
path: root/sphinx/util/pycompat.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated items for Sphinx 6.0 (#10471)Adam Turner2022-06-161-51/+0
|
* Collapse single line docstringsAdam Turner2022-02-201-2/+1
|
* Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
|
* Fix module docstring indentationAdam Turner2022-02-201-2/+2
|
* Fix module docstring first lineAdam Turner2022-02-201-2/+1
|
* Remove module titles in docstringsAdam Turner2022-02-191-3/+0
|
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* Merge branch '3.x'Takeshi KOMIYA2021-01-011-1/+1
|\
| * 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
* | Fix flake8 violationTakeshi KOMIYA2020-11-121-0/+1
| |
* | Do isortTakeshi KOMIYA2020-11-121-1/+0
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-11-121-1/+1
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-2/+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.
| * Preserve backwards compatibilityPeter Bell2020-07-161-11/+17
| |
| * Require canonical name to be specified when calling deprecated_aliasPeter Bell2020-07-151-8/+10
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-07-051-3/+4
|\ \ | |/
| * Fix exception causes all over the codebaseRam Rachum2020-06-141-3/+4
| |
| * Merge branch '3.0.x' into 3.xTakeshi KOMIYA2020-06-031-1/+1
| |\
| | * Fix mypy violations (with mypy-0.780)Takeshi KOMIYA2020-06-031-1/+1
| | |
* | | Merge branch '3.x'Takeshi KOMIYA2020-05-041-2/+9
|\ \ \ | |/ /
| * | refactor: Catch ImportError for lib2to3 to support future pythonTakeshi KOMIYA2020-05-041-2/+9
| |/
* | Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA2020-04-291-52/+2
| |
* | Deprecate sphinx.util.pycompat.execfile_()Takeshi KOMIYA2020-03-161-1/+8
|/
* refactor: Update type annotations in sphinx.util.*Takeshi KOMIYA2020-02-161-1/+1
|
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Fix mypy violations (for mypy-0.740)Takeshi KOMIYA2019-10-201-1/+1
|
* Migrate to py3 style type annotation: sphinx.util.pycompatTakeshi KOMIYA2019-06-031-8/+3
|
* Clean up import for annotationsTakeshi KOMIYA2019-03-061-1/+1
|
* Deprecate sphinx.util.pycompat:sys_encodingTakeshi KOMIYA2019-02-111-5/+1
|
* refactor: Move NoneType to sphinx.util.typingTakeshi KOMIYA2019-02-111-3/+2
|
* refactor: Move terminal_safe() to sphinx.util.consoleTakeshi KOMIYA2019-02-111-6/+3
|
* refactor: deprecate some pycompat functionsTakeshi KOMIYA2019-01-071-8/+14
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Replace use of six.text_type with strJon Dufresne2018-12-181-3/+1
| | | | | | | | | | This removes the last use of the six package allowing Sphinx to remove it as a dependency.
* | 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.
* | Deprecate UnicodeMixinTakeshi KOMIYA2018-12-161-1/+7
| |
* | Replace all "unicode" type by "str"Takeshi KOMIYA2018-12-151-4/+3
| |
* | Move to py3 mode for mypy (and remove many "type: ignore" comments)Takeshi KOMIYA2018-12-151-1/+1
| |
* | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| |
* | Deprecate evaluating Python 2 syntax in configuration filesJon Dufresne2018-11-221-7/+16
| |
* | Replace six.exec_() with Python 3 built-in exec()Jon Dufresne2018-11-201-2/+2
| |
* | Deprecate sphinx.util.pycompat.uJon Dufresne2018-11-121-1/+1
| | | | | | | | | | It is now simply a constant equal to the empty string. Provides no further utility.
* | Merge branch 'master' into HEADTakeshi KOMIYA2018-09-221-95/+34
|\ \
| * | refactoring: Drop PY2 and PY3 flagsTakeshi KOMIYA2018-09-221-92/+32
| |/
* | 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.
* Revert "Use typing.TYPE_CHECKING for typehints"Takeshi KOMIYA2018-03-131-3/+2
| | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4.
* Use typing.TYPE_CHECKING for typehintsTakeshi KOMIYA2018-02-141-2/+3
|
* Use flake8-import-orderTakeshi KOMIYA2018-01-281-1/+1
|
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|