| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Convert string formatting to f-strings with flynt
|
|
|
|
|
|
|
| |
While they are not always an actual bug, they are certainly a Python
anti-pattern and possible the source of future bugs.
In at least one case, the default mutable argument `config` is actually
modified later on by the function.
|
| |
|
| |
|
|
|
|
|
| |
Add a kwarg to make_xref to toggle the automatic wrapping of every term
not in xref_ignore in an :obj: role.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* TST: use default links in xref test.
Switch to numpydoc's default link mapping for test_xref instead of
the custom (less comprehensive) link mapping.
* DOC: rm statements about xref_alias dict.
Default aliases are not an empty dict, nor are they dependent
on intersphinx.
* DOC: Update make_xref docstring.
|
|
|
| |
Found via `codespell`
|
| |
|
| |
|
|
Tokens of the type description that are determined to be "link-worthy"
are enclosed in a new role called `xref_param_type`. This role when
when processed adds a `pending_xref` node to the DOM. If these types
cross-references are not resolved when the build ends, sphinx does
not complain. This forgives errors made when deciding whether tokens
are "link-worthy". And provided text from the type description is not
lost in the processing, the only unwanted outcome is a type link (due
to coincidence) when none was desired.
|