Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Run pyupgrade (#11070) | Adam Turner | 2023-01-02 | 1 | -1/+1 |
| | |||||
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 1 | -2/+2 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 1 | -0/+2 |
| | |||||
* | Enable Ruff's pylint 'PLC2201' check | Adam Turner | 2022-12-30 | 1 | -1/+1 |
| | | | | Address all cases where the comparison order check is violated | ||||
* | Update typing ignores for mypy 0.990 | Adam Turner | 2022-11-13 | 1 | -1/+1 |
| | |||||
* | Collapse single line docstrings | Adam Turner | 2022-02-20 | 1 | -2/+1 |
| | |||||
* | Remove copyright and licence fields | Adam Turner | 2022-02-20 | 1 | -3/+0 |
| | |||||
* | Fix module docstring indentation | Adam Turner | 2022-02-20 | 1 | -2/+2 |
| | |||||
* | Fix module docstring first line | Adam Turner | 2022-02-20 | 1 | -2/+1 |
| | |||||
* | Remove module titles in docstrings | Adam Turner | 2022-02-19 | 1 | -3/+0 |
| | |||||
* | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | |||||
* | Fix type annotations (for jinja2) | Takeshi KOMIYA | 2021-05-19 | 1 | -2/+2 |
| | | | | | | Jinja2 starts to bundle its typehints since v3.0. As a result, mypy warns "ignore" hint is needless. This removes them all to keep it valid. | ||||
* | Support jinja2-3.0 | Takeshi KOMIYA | 2021-05-19 | 1 | -2/+8 |
| | | | | | | Since jinja2-3.0, some utility functions like contextfunction and environmentfilter are renamed to new name. This follows the updates to support jinja2-3.0 or above. | ||||
* | refactor: Use PEP-526 based variable annotation (sphinx.util) | Takeshi KOMIYA | 2021-03-10 | 1 | -2/+1 |
| | |||||
* | A happy new year! | Takeshi KOMIYA | 2021-01-01 | 1 | -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 isort | François Freitag | 2020-11-11 | 1 | -4/+2 |
| | | | | | | | | | | | | 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. | ||||
* | Fix #7894: gettext: Wrong source info is shown when using rst_epilog | Takeshi KOMIYA | 2020-07-08 | 1 | -1/+6 |
| | |||||
* | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| | |||||
* | Migrate to py3 style type annotation: sphinx.util.rst | Takeshi KOMIYA | 2019-06-05 | 1 | -20/+10 |
| | |||||
* | Add rst.heading() | Takeshi KOMIYA | 2019-05-02 | 1 | -1/+34 |
| | |||||
* | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
|\ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #5509 from stephenfin/remove-future-imports | Takeshi KOMIYA | 2018-12-17 | 1 | -1/+0 |
|\ \ | | | | | | | Remove future imports | ||||
| * | | py3: Remove (most) __future__ imports | Stephen Finucane | 2018-12-17 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were two used: - print_function - absolute_import Both of these are mandatory in Python 3.0 onwards [1] and can therefore be removed...mostly. Unfortunately, mypy is still running in Python 2.7 mode, meaning we need the 'print_function' future wherever we're calling 'print' with the 'file' argument. There's also a single 'absolute_import' future that must be retained as its removal breaks a test for as-yet unknown reasons. TODOs are added to resolve both issues in the future. [1] https://docs.python.org/3/library/__future__.html Signed-off-by: Stephen Finucane <stephen@that.guru> | ||||
* | | | 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 | -5/+4 |
| | | |||||
* | | Add prepend_prolog() and append_epilog() | Takeshi KOMIYA | 2018-12-05 | 1 | -1/+36 |
| | | |||||
* | | Add role manipulator functions to sphinx.util.docutils | Takeshi KOMIYA | 2018-12-01 | 1 | -2/+3 |
| | | |||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 |
|/ | |||||
* | Fix mypy violations | Takeshi KOMIYA | 2018-10-16 | 1 | -1/+1 |
| | |||||
* | Merge branch '1.7' | Takeshi KOMIYA | 2018-03-18 | 1 | -3/+3 |
|\ | |||||
| * | Merge pull request #4730 from guoci/regex_no_warning | Takeshi KOMIYA | 2018-03-14 | 1 | -1/+1 |
| |\ | | | | | | | prevent raising of FutureWarning in regex | ||||
| | * | prevent raising of FutureWarning in regex. | guoci | 2018-03-13 | 1 | -1/+1 |
| | | | |||||
| * | | 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 | -1/+2 |
|/ | |||||
* | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | 2018-02-14 | 1 | -2/+2 |
| | |||||
* | Fix #3952: apidoc: module header is too escaped | Takeshi KOMIYA | 2018-01-28 | 1 | -2/+4 |
| | |||||
* | 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 |
| | | |||||
* | | Fix mypy violations | Takeshi KOMIYA | 2017-11-11 | 1 | -1/+5 |
| | | |||||
* | | Add default_role contextmanager to enable default-role temporarily | Takeshi KOMIYA | 2017-10-31 | 1 | -0/+25 |
|/ | |||||
* | Merge branch 'stable' | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 |
|\ | |||||
| * | Year++ | Takeshi KOMIYA | 2017-03-26 | 1 | -1/+1 |
| | | |||||
* | | Reduce DeprecationWarnings for regexp | Takeshi KOMIYA | 2017-02-17 | 1 | -1/+1 |
| | | |||||
* | | Fix mypy violations | Takeshi KOMIYA | 2017-02-08 | 1 | -1/+2 |
|/ | |||||
* | Fix #1462: autosummary warns for namedtuple with attribute with trailing ↵ | Takeshi KOMIYA | 2016-08-30 | 1 | -0/+18 |
underscore |