Skip to content

Commit

Permalink
mdformat
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipMay committed Jan 2, 2024
1 parent 1998dce commit 87c02eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions source/python/docstrings.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@

### Cross-referencing Python objects

- function: ``:func:`module_name.function_name` ``
- class: ``:class:`module_name.ClassName` ``
- meth: ``:meth:`module_name.ClassName.method_name` ``
- function: `` :func:`module_name.function_name` ``
- class: `` :class:`module_name.ClassName` ``
- meth: `` :meth:`module_name.ClassName.method_name` ``
- prefix `~`: link text will only be the last component of the target
- also see: [Cross-referencing syntax](https://www.sphinx-doc.org/en/master/usage/domains/index.html#cross-referencing-syntax)
- also see: [Cross-referencing Python objects](https://www.sphinx-doc.org/en/master/usage/domains/python.html#cross-referencing-python-objects)
Expand Down
6 changes: 3 additions & 3 deletions source/python/linter.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@

- see <https://mypy.readthedocs.io/en/stable/>
- ignore typing
- ignore all typing in one line: `# type: ignore`
- ignore specific error in one line: `# type: ignore[error-code]`
- <https://mypy.readthedocs.io/en/stable/common_issues.html#spurious-errors-and-locally-silencing-the-checker>
- ignore all typing in one line: `# type: ignore`
- ignore specific error in one line: `# type: ignore[error-code]`
- <https://mypy.readthedocs.io/en/stable/common_issues.html#spurious-errors-and-locally-silencing-the-checker>

0 comments on commit 87c02eb

Please sign in to comment.