Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix COM812 | Adam Turner | 2023-02-18 | 1 | -1/+1 |
| | |||||
* | Add SIM113 lint (#11057) | danieleades | 2023-01-05 | 1 | -1/+1 |
| | | | SIM113: Use ``enumerate`` | ||||
* | Run pyupgrade (#11070) | Adam Turner | 2023-01-02 | 1 | -2/+2 |
| | |||||
* | Use PEP 604 types | Adam Turner | 2023-01-01 | 1 | -4/+4 |
| | |||||
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 1 | -8/+8 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 1 | -0/+2 |
| | |||||
* | set up mypy for incremental adoption of 'strict optional' | daniel.eades | 2022-07-26 | 1 | -2/+7 |
| | |||||
* | replace path.join with pathlib.Path | dhmemi | 2022-04-28 | 1 | -5/+2 |
| | | | | # | ||||
* | support srearch template with extended-length path | dhmemi | 2022-04-22 | 1 | -0/+4 |
| | | | | | | | | some template file contains forward slash in the path, which is not supported by the extended path on windows. see also: - https://github.com/bazelbuild/rules_python/issues/680 - https://stackoverflow.com/questions/21194530/what-does-mean-when-prepended-to-a-file-path | ||||
* | 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 | -1/+1 |
| | | | | | | 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 | -4/+9 |
| | | | | | | 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. | ||||
* | Merge branch '3.x' | Takeshi KOMIYA | 2021-01-01 | 1 | -1/+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 | ||||
* | | Do isort | Takeshi KOMIYA | 2020-11-12 | 1 | -2/+1 |
| | | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-11-12 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Sort imports with isort | François Freitag | 2020-11-11 | 1 | -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. | ||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-06-04 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix mypy violations (with mypy-0.780) | Takeshi KOMIYA | 2020-06-03 | 1 | -1/+1 |
| | | |||||
* | | Hello TYPE_CHECKING! | Takeshi KOMIYA | 2020-03-07 | 1 | -2/+2 |
|/ | |||||
* | 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 |
| | |||||
* | Migrate to py3 style type annotation: sphinx.jinja2glue | Takeshi KOMIYA | 2019-12-25 | 1 | -39/+21 |
| | |||||
* | Replace `a and b or c` by the more legible `b if a or c`. | Antony Lee | 2019-12-21 | 1 | -1/+1 |
| | |||||
* | 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 | -11/+10 |
| | | |||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 |
| | | |||||
* | | Replace six.string_types with native str | Jon Dufresne | 2018-11-21 | 1 | -2/+1 |
| | | |||||
* | | Remove unnecessary object from class definitions | Jon Dufresne | 2018-09-11 | 1 | -1/+1 |
|/ | | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary. | ||||
* | Closes #2157: helper function ``warning()`` for HTML themes is added | Takeshi KOMIYA | 2018-03-19 | 1 | -0/+13 |
| | |||||
* | Merge branch '1.7' | Takeshi KOMIYA | 2018-03-18 | 1 | -2/+3 |
|\ | |||||
| * | Revert "Use typing.TYPE_CHECKING for typehints" | Takeshi KOMIYA | 2018-03-13 | 1 | -2/+3 |
| | | | | | | | | This reverts commit a073e17537c2aacaac305feadea58d4473ec97f4. | ||||
* | | Merge branch '1.7' | Takeshi KOMIYA | 2018-02-18 | 1 | -3/+2 |
|\ \ | |/ | |||||
| * | Use typing.TYPE_CHECKING for typehints | Takeshi KOMIYA | 2018-02-14 | 1 | -3/+2 |
| | | |||||
* | | Update type annotations | Takeshi KOMIYA | 2018-02-04 | 1 | -3/+3 |
|/ | |||||
* | Use flake8-import-order | Takeshi KOMIYA | 2018-01-28 | 1 | -3/+3 |
| | |||||
* | #4246: Limit width of text body for all themes | Tim Hoffmann | 2018-01-06 | 1 | -0/+20 |
| | |||||
* | A happy new year! | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 |
| | |||||
* | Fix mypy violations | Takeshi KOMIYA | 2017-04-21 | 1 | -2/+1 |
| | |||||
* | Drop old methods | Takeshi KOMIYA | 2017-04-21 | 1 | -1/+1 |
| | |||||
* | Split theme manager and theme instance class | Takeshi KOMIYA | 2017-04-20 | 1 | -0/+1 |
| | |||||
* | Fix fail to load template file if the parent template is archived | Takeshi KOMIYA | 2017-04-18 | 1 | -2/+2 |
| |