Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix COM812 | Adam Turner | 2023-02-18 | 1 | -4/+4 |
| | |||||
* | Resolve Ruff SIM114 violations | Adam Turner | 2023-02-15 | 1 | -23/+18 |
| | |||||
* | Adopt ``profile = "black"`` for ``isort`` | Adam Turner | 2023-01-07 | 1 | -4/+15 |
| | | | | This allows using Ruff's import sorting fixers | ||||
* | Use PEP 604 display for ``typing.Optional`` and ``typing.Union`` (#11072) | Adam Turner | 2023-01-02 | 1 | -2/+1 |
| | |||||
* | Address SIM103 lints (#11052) | danieleades | 2023-01-02 | 1 | -23/+6 |
| | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | ||||
* | Use ``any`` to find elements in iterable (#11053) | danieleades | 2023-01-02 | 1 | -4/+4 |
| | |||||
* | Run pyupgrade (#11070) | Adam Turner | 2023-01-02 | 1 | -3/+4 |
| | |||||
* | Use PEP 604 types | Adam Turner | 2023-01-01 | 1 | -14/+14 |
| | |||||
* | Use PEP 595 types | Adam Turner | 2023-01-01 | 1 | -11/+11 |
| | |||||
* | Insert ``from __future__ import annotations`` | Adam Turner | 2023-01-01 | 1 | -0/+2 |
| | |||||
* | remove blanket 'noqas' | Daniel Eades | 2022-12-16 | 1 | -3/+5 |
| | |||||
* | Update typing ignores for mypy 0.990 | Adam Turner | 2022-11-13 | 1 | -4/+4 |
| | |||||
* | Use ``ast.parse`` from the standard library | Adam Turner | 2022-10-17 | 1 | -2/+1 |
| | |||||
* | Drop Python 3.7 | Adam Turner | 2022-09-27 | 1 | -30/+9 |
| | |||||
* | Clean up after dropping Python 3.6 | Adam Turner | 2022-09-27 | 1 | -19/+16 |
| | |||||
* | Merge branch '5.x' | Adam Turner | 2022-09-09 | 1 | -7/+13 |
|\ | | | | | | | | | | | | | | | | | # Conflicts: # setup.py # sphinx/application.py # sphinx/environment/__init__.py # sphinx/ext/autodoc/directive.py # tests/test_build_html.py | ||||
| * | Fix more strict static typing errors (#10681) | danieleades | 2022-08-28 | 1 | -7/+13 |
| | | |||||
* | | Merge branch '5.x' into master | Jean-François B | 2022-06-30 | 1 | -1/+1 |
|\ \ | |/ | | | | | | | | | | | | | 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) | ||||
| * | Use the `flake8-comprehensions` lint plugin (#10601) | danieleades | 2022-06-26 | 1 | -1/+1 |
| | | |||||
* | | Merge branch '5.x' | Adam Turner | 2022-06-16 | 1 | -4/+0 |
|\ \ | |/ | | | | | | | | | | | # Conflicts: # .github/workflows/builddoc.yml # .github/workflows/lint.yml # sphinx/registry.py | ||||
| * | Remove traces of Python 2 and 3.5 (#10560) | Adam Turner | 2022-06-16 | 1 | -4/+0 |
| | | |||||
* | | Drop python 3.6 support (#10468) | Takeshi KOMIYA | 2022-06-16 | 1 | -19/+9 |
|/ | |||||
* | Fix #10305: autodoc: Failed to extract optional forwardrefs | Takeshi KOMIYA | 2022-04-17 | 1 | -0/+6 |
| | | | | | Autodoc fails to extract optional forwardrefs (ex. `Optional[MyClass]`) even if `MyClass` is declared in `autodoc_type_aliases`. | ||||
* | Merge pull request #10313 from ↵ | Takeshi KOMIYA | 2022-04-03 | 1 | -1/+6 |
|\ | | | | | | | | | GutiCW/feature-support_mocked_decorator_for_class_methods Support mocked decorator for class methods | ||||
| * | Use `safe_getattr()` to access `__self__`. | Christian Walch | 2022-04-01 | 1 | -4/+1 |
| | | |||||
| * | Move method `isboundmethod()` into sphinx/util/inspect.py. | Christian Walch | 2022-04-01 | 1 | -1/+9 |
| | | |||||
* | | Fix #10279: autodoc: Default values are rendered as a string literal | Takeshi KOMIYA | 2022-04-01 | 1 | -1/+4 |
| | | | | | | | | | | When processing overloaded functions, autodoc unexpectedly renders its default values for kwonlyargs as a string literal unexpectedly | ||||
* | | Merge branch '4.x' | Takeshi KOMIYA | 2022-03-19 | 1 | -9/+1 |
|\ \ | |/ | |||||
| * | Collapse single line docstrings | Adam Turner | 2022-02-20 | 1 | -2/+1 |
| | | |||||
| * | Remove copyright and licence fields | Adam Turner | 2022-02-20 | 1 | -3/+0 |
| | | |||||
| * | Fix module docstring indentation | Adam Turner | 2022-02-20 | 1 | -2/+2 |
| | | |||||
| * | 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 |
| | | |||||
* | | Merge branch '4.x' | Takeshi KOMIYA | 2022-01-16 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | use 'callable' to check if object is callable (B004) | Daniel Eades | 2022-01-10 | 1 | -1/+1 |
| | | |||||
* | | Merge branch '4.x' | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Merge branch '4.3.x' into 4.x | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| |\ | |||||
| | * | A happy new year! | Takeshi KOMIYA | 2022-01-01 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch '4.x' | Takeshi KOMIYA | 2022-01-01 | 1 | -4/+10 |
|\ \ \ | |/ / | |||||
| * | | Merge branch '4.x' into 9194_Literal_type_not_hyperlinked | Takeshi KOMIYA | 2021-12-26 | 1 | -2/+3 |
| |\ \ | |||||
| | * | | Fix docs: docs for show_return_annotation param for stringify_signature() is ↵ | Takeshi KOMIYA | 2021-12-25 | 1 | -2/+3 |
| | |/ | | | | | | | | | | not explained | ||||
| * | | refactor: Merge arguments of sphinx.util.typing:stringify() | Takeshi KOMIYA | 2021-12-26 | 1 | -2/+7 |
| | | | |||||
| * | | Fix #9194: autodoc: Prepend the "typing" module name on the signature | Takeshi KOMIYA | 2021-12-26 | 1 | -2/+2 |
| |/ | | | | | | | | | To create hyperlinks to container types automatically, this prepends the module names for the types under "typing" module. | ||||
* | | Merge branch '4.x' | Takeshi KOMIYA | 2021-12-24 | 1 | -6/+6 |
|\ \ | |/ | |||||
| * | Fix mypy violations (with mypy-0.930) | Takeshi KOMIYA | 2021-12-24 | 1 | -6/+6 |
| | | |||||
* | | Merge branch 'master' into RemovedInSphinx50Warning | Takeshi KOMIYA | 2021-12-17 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Merge branch '4.3.x' into 4.x | Takeshi KOMIYA | 2021-12-17 | 1 | -1/+1 |
| |\ | |||||
| | * | Fix mypy violations (with mypy-0.920) | Takeshi KOMIYA | 2021-12-17 | 1 | -1/+1 |
| | | | |||||
* | | | refactor: Remove RemovedInSphinx50Warning (partially) | Takeshi KOMIYA | 2021-12-17 | 1 | -75/+3 |
|/ / | |||||
* | | Add `unqualified_typehints` parameter to stringify_signature() | Takeshi KOMIYA | 2021-12-03 | 1 | -3/+6 |
|/ | | | | | | | To make the generated function signatures simple, this adds a new parameter `unqualified_typehints` to sphinx.util.inspect: stringify_signature() to suppress the leading module name of typehints. |