Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix COM812 | Adam Turner | 2023-02-18 | 1 | -3/+3 |
| | |||||
* | Run pyupgrade (#11070) | Adam Turner | 2023-01-02 | 1 | -7/+7 |
| | |||||
* | Use PEP 604 types | Adam Turner | 2023-01-01 | 1 | -4/+4 |
| | |||||
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 1 | -15/+14 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 1 | -0/+2 |
| | |||||
* | Enable Ruff's flake8-bandit checks | Adam Turner | 2022-12-29 | 1 | -2/+2 |
| | |||||
* | Enable Ruff's pygrep-hooks checks | Adam Turner | 2022-12-29 | 1 | -1/+1 |
| | |||||
* | Fix highlighting lexers | Adam Turner | 2022-09-25 | 1 | -8/+2 |
| | | | | - Ensure `pycon3` is always normalised to `pycon` | ||||
* | Correct `is_allowed_version()`'s example tests (#10802) | Tony Narlock | 2022-09-09 | 1 | -3/+3 |
| | |||||
* | Improve static typing strictness (#10569) | danieleades | 2022-07-18 | 1 | -6/+6 |
| | |||||
* | Update PEP links in docs | Hugo van Kemenade | 2022-03-24 | 1 | -1/+1 |
| | |||||
* | Remove copyright and licence fields | Adam Turner | 2022-02-20 | 1 | -3/+0 |
| | |||||
* | Conform to PEP 257 summary line conventions | Adam Turner | 2022-02-20 | 1 | -2/+3 |
| | |||||
* | Fix module docstring indentation | Adam Turner | 2022-02-20 | 1 | -3/+3 |
| | |||||
* | 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 |
| | |||||
* | Migrate to Node.findall() from Node.traverse() | Takeshi KOMIYA | 2022-01-03 | 1 | -1/+1 |
| | | | | | | | | Node.traverse() was marked as deprecated since docutils-0.18. Instead of it, Node.findall() has been added as successor of traverse(). This applies a patch to docutils-0.17 or older to be available Node.findall() and use it. | ||||
* | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | |||||
* | refactor: Use PEP-526 based variable annotation | Takeshi KOMIYA | 2021-04-08 | 1 | -7/+7 |
| | |||||
* | refactor: Add a type alias for the option_spec of directives; OptionSpec | Takeshi KOMIYA | 2021-03-13 | 1 | -5/+10 |
| | |||||
* | 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/+2 |
| | | |||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-11-12 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Sort imports with isort | François Freitag | 2020-11-11 | 1 | -1/+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. | ||||
* | | Merge branch '3.x' | Takeshi KOMIYA | 2020-08-08 | 1 | -1/+11 |
|\ \ | |/ | |||||
| * | Close #6698: doctest: Add :no-trim-doctest-flags: options | Takeshi KOMIYA | 2020-08-05 | 1 | -1/+11 |
| | | | | | | | | | | | | | | To control trimming doctest flags manually, this adds new options :trim-doctest-flags: and :no-trim-doctest-flags: to doctest directives. It helps to describes doctest module itself in python doc (see #6698). | ||||
| * | Add stacklevel parameter to warnings.warn() call | Takeshi KOMIYA | 2020-05-03 | 1 | -1/+1 |
| | | |||||
* | | Remove deprecated features marked as RemovedInSphinx40Warning | Takeshi KOMIYA | 2020-04-29 | 1 | -8/+0 |
| | | |||||
* | | Hello TYPE_CHECKING! | Takeshi KOMIYA | 2020-03-07 | 1 | -2/+2 |
| | | |||||
* | | Deprecate codes for python 3.5 | Takeshi KOMIYA | 2020-03-07 | 1 | -2/+1 |
|/ | |||||
* | A happy new year! | Takeshi KOMIYA | 2020-01-01 | 1 | -1/+1 |
| | |||||
* | Replace `a and b or c` by the more legible `b if a or c`. | Antony Lee | 2019-12-21 | 1 | -3/+3 |
| | |||||
* | Fix mypy violations (for mypy-0.730) | Takeshi KOMIYA | 2019-10-06 | 1 | -2/+2 |
| | |||||
* | Fix type annotation for python 3.5.1 | Takeshi KOMIYA | 2019-07-13 | 1 | -1/+2 |
| | |||||
* | Merge branch '2.1.3' into 2.0 | Takeshi KOMIYA | 2019-07-13 | 1 | -1/+1 |
|\ | |||||
| * | Fix mypy violations (for mypy-0.720) | Takeshi KOMIYA | 2019-07-13 | 1 | -1/+1 |
| | | |||||
* | | Migrate to py3 style type annotation: sphinx.ext.doctest | Takeshi KOMIYA | 2019-07-04 | 1 | -61/+38 |
|/ | |||||
* | Merge branch '2.0' | Takeshi KOMIYA | 2019-03-07 | 1 | -1/+1 |
|\ | |||||
| * | Clean up import for annotations | Takeshi KOMIYA | 2019-03-06 | 1 | -1/+1 |
| | | |||||
* | | Add a helper method ``SphinxDirective.set_source_info()`` | Takeshi KOMIYA | 2019-03-03 | 1 | -2/+1 |
|/ | |||||
* | Merge branch '1.8' into 2.0 | Takeshi KOMIYA | 2019-03-02 | 1 | -11/+19 |
|\ | |||||
| * | Fix #6068: doctest: ``skipif`` option may remove the code block from ↵ | Takeshi KOMIYA | 2019-02-28 | 1 | -10/+19 |
| | | | | | | | | documentation | ||||
* | | 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. | ||||
* | | Use Python 3 super() argument-less syntax | Jon Dufresne | 2018-12-15 | 1 | -1/+1 |
| | | | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super | ||||
* | | Merge branch 'master' into 5770_doctest_refers_highlight_language | Takeshi KOMIYA | 2018-12-16 | 1 | -20/+19 |
|\ \ |