summaryrefslogtreecommitdiff
path: root/sphinx/setup_command.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove the deprecated Setuptools integration (#11363)Adam Turner2023-04-271-192/+0
|
* Unescape quotation marks where possibleAdam Turner2023-02-181-1/+1
|
* Use PEP 604 typesAdam Turner2023-01-011-4/+4
|
* Use PEP 595 typesAdam Turner2023-01-011-2/+2
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* Improve static typing strictness (#10569)danieleades2022-07-181-4/+4
|
* Close #9820: Use setuptools.Command if availableTakeshi KOMIYA2022-05-301-7/+11
| | | | | | distutils was marked as deprecated since Python 3.10 (see PEP 632). And it will be removed since Python 3.12. To follow the deprecation, this starts to use `setuptools.Command` if available.
* Merge branch '4.x'Takeshi KOMIYA2022-03-191-10/+2
|\
| * Remove copyright and licence fieldsAdam Turner2022-02-201-4/+1
| |
| * Conform to PEP 257 summary line conventionsAdam Turner2022-02-201-2/+1
| |
| * Fix module docstring indentationAdam Turner2022-02-201-5/+5
| |
| * Fix module docstring first lineAdam Turner2022-02-201-2/+1
| |
| * Remove module titles in docstringsAdam Turner2022-02-191-3/+0
| |
* | Merge branch '4.x'Takeshi KOMIYA2022-01-171-1/+1
|\ \ | |/
| * address some unused loop control variables (B007)Daniel Eades2022-01-121-1/+1
| |
* | Close #9595: Deprecate setuptools integrationTakeshi KOMIYA2022-01-011-0/+5
|/
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* Improvement to sphinx.setup_command docstringsLouis Maddox2021-07-181-2/+2
|
* refactor: Use PEP-526 based variable annotationTakeshi KOMIYA2021-04-081-15/+9
|
* Close #8326: Rename master_doc to root_docTakeshi KOMIYA2021-02-281-1/+1
| | | | | | To describe the purpose more accurately, the `master_doc` is now renamed to `root_doc`. The old name is still available. But it is recommeneded to use new one from now on.
* Merge branch '3.x'Takeshi KOMIYA2021-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2021-01-011-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
* | Merge branch '3.x'Takeshi KOMIYA2020-12-141-15/+1
|\ \ | |/
| * Drop outdated workaround for distutils' Command._ensure_stringlike()Jon Dufresne2020-12-121-15/+1
| | | | | | | | | | | | | | The issue applied to Python 2 only. The current override is identical to the CPython implementation: https://github.com/python/cpython/blob/4b8cdfcb22fbeaab9d954cb693a7fb3362a382b6/Lib/distutils/cmd.py#L207-L215
* | Merge branch '3.x'Takeshi KOMIYA2020-11-121-2/+2
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-2/+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 KOMIYA2020-07-241-1/+2
|\ \ | |/
| * Fix a mypy violationTakeshi KOMIYA2020-07-241-1/+1
| |
| * Merge branch '3.x' into 5090_distutils_versionTakeshi KOMIYA2020-07-241-17/+21
| |\
| * | BuildDoc: link verbosity to distutils'Daniel Hahler2018-06-131-2/+4
| | | | | | | | | | | | | | | This preserves the current behavior (using 0), but picks up distutils' `-v` and `-q` options.
* | | Merge branch '3.x'Takeshi KOMIYA2020-07-051-1/+1
|\ \ \ | | |/ | |/|
| * | Fix exception causes all over the codebaseRam Rachum2020-06-141-1/+1
| | |
* | | Merge tag 'v3.1.0'Takeshi KOMIYA2020-07-051-1/+2
|\ \ \ | |/ /
| * | Close #7792: setuptools: Support ``--verbosity`` optionTakeshi KOMIYA2020-06-061-1/+2
| | |
* | | Hello TYPE_CHECKING!Takeshi KOMIYA2020-03-071-3/+3
|/ /
* | A happy new year!Takeshi KOMIYA2020-01-011-1/+1
| |
* | Support --keep-going with BuildDoc setup command (#6180)Daniel Hahler2019-03-171-1/+4
| | | | | | | | | | * Support --keep-going with BuildDoc setup command This allows for `tox -e docs -- -n -W --keep-going`.
* | Clean up import for annotationsTakeshi KOMIYA2019-03-061-1/+1
| |
* | Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\ \
| * | A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| | |
* | | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-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 KOMIYA2018-12-151-7/+6
| | |
* | | Remove print_function featureTakeshi KOMIYA2018-12-151-1/+0
| | |
* | | refactor: Replace six.StringIO by io.StringIOTakeshi KOMIYA2018-12-151-2/+1
| | |
* | | Add sphinx.util.typing:unicode to help mypy-3 migrationTakeshi KOMIYA2018-11-241-0/+1
| | |
* | | Replace six.string_types with native strJon Dufresne2018-11-211-2/+2
|/ /
* | Fix setup_command uses deprecated moduleTakeshi KOMIYA2018-07-281-1/+1
| |
* | Fix mypy violationTakeshi KOMIYA2018-07-191-2/+2
| |
* | BuildDoc: add and pass through nitpicky optionDaniel Hahler2018-06-251-1/+5
|/ | | | | This allows for using e.g. `tox -e docs -- -n` with Sphinx's own `build_sphinx` distutils command.
* Merge branch '1.7'Takeshi KOMIYA2018-05-031-1/+1
|\