Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-07-11 | 1 | -0/+11 | |
|\ \ | |/ | ||||||
| * | fix lint | Yuxin Wu | 2020-07-05 | 1 | -3/+1 | |
| | | ||||||
| * | show docs for decorated special functions | Yuxin Wu | 2020-07-05 | 1 | -0/+13 | |
| | | ||||||
* | | Remove deprecated features marked as RemovedInSphinx40Warning | Takeshi KOMIYA | 2020-04-29 | 2 | -15/+2 | |
| | | ||||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-03-23 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Close #7341: py domain: type annotations are converted to cross refs | Takeshi KOMIYA | 2020-03-22 | 1 | -1/+1 | |
| | | ||||||
* | | Use typing.NamedTuple instead of collections.namedtuple as possible | Takeshi KOMIYA | 2020-03-07 | 1 | -1/+0 | |
|/ | ||||||
* | Fix comparer | Takeshi KOMIYA | 2020-02-23 | 1 | -1/+1 | |
| | ||||||
* | refactor: Update type annotations in sphinx.testing.* | Takeshi KOMIYA | 2020-02-23 | 3 | -46/+55 | |
| | ||||||
* | 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. | |||||
* | refactor: Rename var keyword argument to "**kwargs" | Takeshi KOMIYA | 2020-01-08 | 1 | -4/+4 | |
| | ||||||
* | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 6 | -6/+6 | |
| | ||||||
* | mypy: Enable disallow_incomplete_defs flag for type checking | Takeshi KOMIYA | 2019-12-30 | 2 | -7/+7 | |
| | ||||||
* | Merge branch '2.2.1' into 2.0 | Takeshi KOMIYA | 2019-10-06 | 1 | -4/+4 | |
|\ | ||||||
| * | Fix mypy violations (for mypy-0.730) | Takeshi KOMIYA | 2019-10-06 | 1 | -4/+4 | |
| | | ||||||
* | | refactor: SphinxStandaloneReader should not hold an application object | Takeshi KOMIYA | 2019-08-20 | 1 | -1/+3 | |
|/ | ||||||
* | Merge branch '2.1.3' into 2.0 | Takeshi KOMIYA | 2019-07-13 | 1 | -4/+4 | |
|\ | ||||||
| * | Fix mypy violations (for mypy-0.720) | Takeshi KOMIYA | 2019-07-13 | 1 | -4/+4 | |
| | | ||||||
* | | Migrate to py3 style type annotation: sphinx.testing.restructuredtext | Takeshi KOMIYA | 2019-07-06 | 1 | -8/+3 | |
| | | ||||||
* | | Migrate to py3 style type annotation: sphinx.testing.fixtures | Takeshi KOMIYA | 2019-07-06 | 1 | -9/+4 | |
| | | ||||||
* | | Migrate to py3 style type annotation: sphinx.testing.path | Takeshi KOMIYA | 2019-07-06 | 1 | -55/+28 | |
| | | ||||||
* | | Migrate to py3 style type annotation: sphinx.testing.util | Takeshi KOMIYA | 2019-07-06 | 1 | -36/+18 | |
|/ | ||||||
* | Python-3-only clean ups discovered by pyupgrade | Jon Dufresne | 2019-03-17 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | https://github.com/asottile/pyupgrade > A tool to automatically upgrade syntax for newer versions of the > language. - Drop u str prefix - Drop base object inheritance - Drop args to super() - Use set literals - Use dict comprehension - Use set comprehension | |||||
* | Merge branch '2.0' into 2155_code_directive | Takeshi KOMIYA | 2019-03-10 | 1 | -1/+0 | |
|\ | ||||||
| * | Clean up import for annotations | Takeshi KOMIYA | 2019-03-06 | 1 | -1/+0 | |
| | | ||||||
* | | Add sphinx.testing.restructuredtext.parse() | Takeshi KOMIYA | 2019-03-03 | 1 | -0/+38 | |
|/ | ||||||
* | Stop to use $SPHINX_TEST_TEMPDIR envvar | Takeshi KOMIYA | 2019-01-13 | 1 | -3/+6 | |
| | | | | | | | | At once, we added $SPHINX_TEST_TEMPDIR to keep intermediate files of testing to investigate the failures. At present, we've used pytest as a test runner. And it keeps temporary directories of last 3 testings. So this starts to use it instead of $SPHINX_TEST_TEMPDIR. https://docs.pytest.org/en/latest/tmpdir.html#the-default-base-temporary-directory | |||||
* | Use subprocess.run() instead of Popen() | Takeshi KOMIYA | 2019-01-13 | 1 | -4/+2 | |
| | | | | | | Since python3.5, subprocess.run() has been introduced. It works a wrapper of Popen, and it looks much simple and better. This uses it instead of Popen to make our code simple. | |||||
* | Add PathComparer for testing and fix 2 test failure on Windows. (#5943) | Takayuki SHIMIZUKAWA | 2019-01-13 | 1 | -0/+101 | |
| | | | | | | | | | commits are squashed. * Add PathComparer for testing and fix 2 test failure on Windows. * fix flake8 * add type information by f2f review. Thanks to @tk0miya! * fix mypy, flake8 again.. | |||||
* | Remove use of deprecated APIs | Takeshi KOMIYA | 2019-01-03 | 1 | -1/+1 | |
| | ||||||
* | Merge branch '1.8' | Takeshi KOMIYA | 2019-01-02 | 4 | -4/+4 | |
|\ | ||||||
| * | A happy new year! | Takeshi KOMIYA | 2019-01-02 | 4 | -4/+4 | |
| | | ||||||
* | | 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 | 4 | -4/+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. | |||||
* | | Merge pull request #5796 from jdufresne/super | Takeshi KOMIYA | 2018-12-16 | 1 | -3/+3 | |
|\ \ | | | | | | | Use Python 3 super() argument-less syntax | |||||
| * | | Use Python 3 super() argument-less syntax | Jon Dufresne | 2018-12-15 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super | |||||
* | | | 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 | 2 | -18/+16 | |
| | | ||||||
* | | Remove print_function feature | Takeshi KOMIYA | 2018-12-15 | 1 | -1/+0 | |
| | | ||||||
* | | refactor: Replace six.StringIO by io.StringIO | Takeshi KOMIYA | 2018-12-15 | 1 | -1/+1 | |
| | | ||||||
* | | Add docutils-stubs to test deps | Takeshi KOMIYA | 2018-12-15 | 1 | -4/+4 | |
| | | ||||||
* | | Move to py3 mode for mypy (and remove many "type: ignore" comments) | Takeshi KOMIYA | 2018-12-15 | 2 | -4/+4 | |
| | | ||||||
* | | 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 of testing | Takeshi KOMIYA | 2018-12-03 | 1 | -4/+13 | |
| | | ||||||
* | | 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 | 2 | -0/+2 | |
| | | ||||||
* | | Replace six.string_types with native str | Jon Dufresne | 2018-11-21 | 2 | -5/+3 | |
| | | ||||||
* | | Simplify ensuredir() with Python3 stdlib features | Jon Dufresne | 2018-11-20 | 2 | -7/+5 | |
| | | | | | | | | | | | | | | | | | | - 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 pull request #5623 from jdufresne/comments | Takeshi KOMIYA | 2018-11-13 | 1 | -4/+0 | |
|\ \ | | | | | | | Remove commented out dead code in sphinx/testing/util.py | |||||
| * | | Remove commented out dead code in sphinx/testing/util.py | Jon Dufresne | 2018-11-12 | 1 | -4/+0 | |
| | | | | | | | | | | | | Commented since d47a7587f9813f2366e2077be051116291bf930e (Sep 21, 2014). |