Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix various Ruff errors | Adam Turner | 2023-01-31 | 1 | -2/+4 |
| | |||||
* | Run pyupgrade (#11070) | Adam Turner | 2023-01-02 | 1 | -4/+4 |
| | |||||
* | Use PEP 604 types | Adam Turner | 2023-01-01 | 1 | -2/+2 |
| | |||||
* | 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 |
| | |||||
* | set up mypy for incremental adoption of 'strict optional' | daniel.eades | 2022-07-26 | 1 | -2/+2 |
| | |||||
* | Remove deprecated code for Sphinx 5.0 | Adam Turner | 2022-04-17 | 1 | -19/+0 |
| | |||||
* | Remove copyright and licence fields | Adam Turner | 2022-02-20 | 1 | -5/+0 |
| | |||||
* | Fix module docstring indentation | Adam Turner | 2022-02-20 | 1 | -2/+2 |
| | |||||
* | Remove module titles in docstrings | Adam Turner | 2022-02-19 | 1 | -3/+0 |
| | |||||
* | address some unused loop control variables (B007) | Daniel Eades | 2022-01-12 | 1 | -1/+1 |
| | |||||
* | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | |||||
* | Merge pull request #8823 from tk0miya/8511_readonly_testing | Takeshi KOMIYA | 2021-02-05 | 1 | -0/+21 |
|\ | | | | | Support testing from read-only filesystems | ||||
| * | test: change permissions of testfiles only $SPHINX_READONLY_TESTDIR set | Takeshi KOMIYA | 2021-02-05 | 1 | -9/+10 |
| | | |||||
| * | test: Apply umask to Path.copytree() | Takeshi KOMIYA | 2021-02-05 | 1 | -2/+13 |
| | | |||||
| * | Support testing from read-only filesystems | Jeremy Maitin-Shepard | 2020-12-12 | 1 | -0/+9 |
| | | |||||
* | | 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 | -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. | ||||
* | testing: Add Path.read_text() and Path.read_bytes() | Takeshi KOMIYA | 2020-02-01 | 1 | -0/+19 |
| | | | | | To migrate pathlib.Path in future, compatibile methods are needed for our Path class. | ||||
* | 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 | -4/+4 |
| | |||||
* | Migrate to py3 style type annotation: sphinx.testing.path | Takeshi KOMIYA | 2019-07-06 | 1 | -55/+28 |
| | |||||
* | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
|\ | |||||
| * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 1 | -1/+1 |
| | | |||||
* | | Replace use of six.text_type with str | Jon Dufresne | 2018-12-18 | 1 | -4/+2 |
| | | | | | | | | | | This removes the last use of the six package allowing Sphinx to remove it as a dependency. | ||||
* | | 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. | ||||
* | | Remove unnecessary bytes type check from path.write_text() | Jon Dufresne | 2018-12-15 | 1 | -2/+0 |
| | | | | | | | | | | All code passes type str to the method. Per the type signature, only str is allowed. | ||||
* | | Replace all "unicode" type by "str" | Takeshi KOMIYA | 2018-12-15 | 1 | -8/+7 |
| | | |||||
* | | Move to py3 mode for mypy (and remove many "type: ignore" comments) | Takeshi KOMIYA | 2018-12-15 | 1 | -3/+3 |
| | | |||||
* | | 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'). | ||||
* | | Fix annotations (minor fixes) | Takeshi KOMIYA | 2018-12-03 | 1 | -1/+2 |
| | | |||||
* | | Add sphinx.util.typing:unicode to help mypy-3 migration | Takeshi KOMIYA | 2018-11-24 | 1 | -0/+1 |
| | | |||||
* | | Simplify ensuredir() with Python3 stdlib features | Jon Dufresne | 2018-11-20 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | - Simplify ensuredir() to equivalent os.makedir(name, exist_ok=True) - Do not check if a directory exists before calling ensuredir() (ensuredir() already handles it) - Add exist_ok argument to path.makedirs() to follow same pattern - Drop unnecessary .exists() check immediately before .isdir() - Add tests for ensuredir | ||||
* | | Merge branch 'master' into open | Takeshi KOMIYA | 2018-09-22 | 1 | -10/+2 |
|\ \ | |||||
| * | | refactoring: Drop PY2 and PY3 flags | Takeshi KOMIYA | 2018-09-22 | 1 | -10/+2 |
| |/ | |||||
| * | Fix mypy violations | Takeshi KOMIYA | 2018-09-18 | 1 | -1/+1 |
| | | |||||
* | | Prefer builtin open() over io.open() and codecs.open() | Jon Dufresne | 2018-09-11 | 1 | -3/+2 |
|/ | | | | | | | | | | | | In Python3, the functions io.open() is an alias of the builtin open() and codecs.open() is functionally equivalent. To reduce indirection, number of imports, and number of patterns, always prefer the builtin. https://docs.python.org/3/library/io.html#high-level-module-interface > io.open() > > This is an alias for the builtin open() function. | ||||
* | Fix mypy violations | Takeshi KOMIYA | 2018-07-15 | 1 | -1/+1 |
| | |||||
* | Drop typing.TYPE_CHECKING | Takeshi KOMIYA | 2018-03-26 | 1 | -2/+2 |
| | |||||
* | Use typing.TYPE_CHECKING | Takeshi KOMIYA | 2018-02-19 | 1 | -2/+2 |
| | |||||
* | Update type annotations | Takeshi KOMIYA | 2018-02-04 | 1 | -2/+32 |
| | |||||
* | Use flake8-import-order | Takeshi KOMIYA | 2018-01-28 | 1 | -1/+1 |
| | |||||
* | A happy new year! | Takeshi KOMIYA | 2018-01-01 | 1 | -1/+1 |
| | |||||
* | refs #3458: add sphinx.testing that are moved from /tests directory. | shimizukawa | 2017-05-14 | 1 | -0/+206 |