summaryrefslogtreecommitdiff
path: root/sphinx/util
Commit message (Collapse)AuthorAgeFilesLines
...
* Adopt the Ruff code linting toolAdam Turner2022-12-291-1/+1
| | | | https://github.com/charliermarsh/ruff
* remove blanket 'noqas'Daniel Eades2022-12-166-14/+26
|
* Update typing ignores for mypy 0.990Adam Turner2022-11-133-6/+6
|
* Run the ``pyupgrade`` toolAdam Turner2022-10-171-1/+1
|
* Use ``ast.parse`` from the standard libraryAdam Turner2022-10-171-2/+1
|
* Merge ``_py37`` functions in ``util.typing``Adam Turner2022-10-171-245/+54
| | | | | - restify and _restify_py37 - stringify and _stringify_py37
* Increase minimum Docutils to 0.18Adam Turner2022-09-272-34/+2
|
* Increase minimum Docutils to 0.17Adam Turner2022-09-272-20/+4
|
* Drop Python 3.7Adam Turner2022-09-271-30/+9
|
* Clean up after dropping Python 3.6Adam Turner2022-09-274-48/+24
|
* Merge branch '5.x'Adam Turner2022-09-272-10/+11
|\
| * Fix mypy violations for v0.981 (#10875)Adam Turner2022-09-272-10/+11
| |
* | Merge branch '5.x'Adam Turner2022-09-231-15/+3
|\ \ | |/ | | | | | | | | # Conflicts: # setup.py # sphinx/__init__.py
| * Fix `get_terminal_width` on Windows (#10842)Steffen Rehberg2022-09-201-15/+3
| | | | | | | | `shutil.get_terminal_size` works as a drop-in replacement for `get_terminal_width`, enabling accurate widths on Windows.
* | Merge branch '5.x'Adam Turner2022-09-096-25/+42
|\ \ | |/ | | | | | | | | | | | | | | # Conflicts: # setup.py # sphinx/application.py # sphinx/environment/__init__.py # sphinx/ext/autodoc/directive.py # tests/test_build_html.py
| * Refactor `util.docutils.new_document()` cache (#10805)Adam Turner2022-09-071-6/+11
| |
| * Fix more strict static typing errors (#10681)danieleades2022-08-285-17/+29
| |
| * Remove unneeded `noqa` lint suppression comments (#10772)danieleades2022-08-281-1/+1
| |
| * Further improve type annotations, reduce mypy whitelist (#10770)danieleades2022-08-281-1/+1
| | | | | | Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
* | Merge branch '5.x'Jean-François B2022-08-061-1/+2
|\ \ | |/
| * Fix flake8 5.0.0 reported formatting errorsdaniel.eades2022-08-011-1/+2
| |
* | Merge branch '5.x'Adam Turner2022-07-241-3/+2
|\ \ | |/ | | | | | | | | # Conflicts: # CHANGES # sphinx/__init__.py
| * Update include_patterns implementation (#10680)Adam Turner2022-07-231-3/+2
| |
* | Merge branch '5.x'Takeshi KOMIYA2022-07-231-2/+2
|\ \ | |/
| * Merge branch '5.0.x' into 5.xTakeshi KOMIYA2022-07-231-2/+2
| |\
| | * Fix mypy violations (with mypy-0.971)Takeshi KOMIYA2022-07-231-2/+2
| | |
* | | Merge branch '5.x'Adam Turner2022-07-189-24/+35
|\ \ \ | |/ / | | | | | | | | | | | | # Conflicts: # sphinx/ext/autodoc/__init__.py # sphinx/writers/html5.py
| * | Improve static typing strictness (#10569)danieleades2022-07-189-24/+35
| | |
* | | Merge branch '5.x'Adam Turner2022-07-173-10/+89
|\ \ \ | |/ /
| * | Add `include_patterns` as the opposite of `exclude_patterns` (#10518)Adam Turner2022-07-173-10/+89
| | |
* | | Merge branch '5.x'Adam Turner2022-07-101-1/+38
|\ \ \ | |/ /
| * | Use Docutils 0.19 footnote styles (#10599)Adam Turner2022-07-041-1/+38
| | |
* | | Merge branch '5.x'Takeshi KOMIYA2022-07-031-2/+2
|\ \ \ | |/ /
| * | Remove redundant static typing casts (#10612)danieleades2022-07-021-2/+2
| | |
* | | Merge branch '5.x' into masterJean-François B2022-06-305-16/+6
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | Resolved merge conflicts: sphinx/ext/extlinks.py sphinx/ext/napoleon/docstring.py (and removed from the latter a now unused import for flake8 F401 compliance)
| * | Merge branch '5.0.x' into 5.xJean-François B2022-06-301-2/+2
| |\ \ | | |/
| | * Fix build failure for Docutils 0.18.0 (#10597)Jean-François B2022-06-251-2/+2
| | |
| * | Use the `flake8-comprehensions` lint plugin (#10601)danieleades2022-06-263-3/+3
| | |
| * | requests.packages is deprecated, import from urllib3 (#10563)Adam Turner2022-06-171-11/+1
| | |
* | | Remove more deprecated items in Sphinx 6.0 (#10562)Adam Turner2022-06-261-33/+0
| | |
* | | Merge branch '5.x'Adam Turner2022-06-167-438/+60
|\ \ \ | |/ / | | | | | | | | | | | | | | | # Conflicts: # .github/workflows/builddoc.yml # .github/workflows/lint.yml # sphinx/registry.py
| * | Remove traces of Python 2 and 3.5 (#10560)Adam Turner2022-06-162-9/+0
| | |
| * | logging: always show source locations as absolute paths (#10460)Doug Hellmann2022-06-161-0/+3
| | |
| * | Increase static typing strictness (#10530)Adam Turner2022-06-163-4/+13
| | |
| * | Simplify Sphinx's Stemmer (#10467)Adam Turner2022-06-162-425/+44
| | |
* | | Remove deprecated items for Sphinx 6.0 (#10471)Adam Turner2022-06-164-445/+1
| | |
* | | Drop python 3.6 support (#10468)Takeshi KOMIYA2022-06-162-28/+18
|/ /
* | remove unnecessary generators (C400, C401)Daniel Eades2022-06-031-1/+1
| |
* | simplify dict key checks (SIM118)Daniel Eades2022-06-031-1/+1
|/
* Fix #9096: sphinx-build: the value of progress bar for paralle build is wrongTakeshi KOMIYA2022-05-161-6/+11
| | | | | The value of progress bar (reading and writing) should be increased just after each task is finished.