mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 15:15:33 +00:00
Stabilize support for Jupyter Notebooks (#12878)
Co-authored-by: Alex Waygood <alex.waygood@gmail.com> Closes: #12456 Closes: https://github.com/astral-sh/ruff-vscode/issues/546
This commit is contained in:
parent
15aa5a6d57
commit
73160dc8b6
13 changed files with 72 additions and 164 deletions
|
@ -53,6 +53,9 @@ use crate::registry::Rule;
|
|||
/// def calculate_speed(distance: float, time: float) -> float: ...
|
||||
/// ```
|
||||
///
|
||||
/// ## Notebook behavior
|
||||
/// This rule is ignored for Jupyter Notebooks.
|
||||
///
|
||||
/// ## References
|
||||
/// - [PEP 257 – Docstring Conventions](https://peps.python.org/pep-0257/)
|
||||
/// - [PEP 287 – reStructuredText Docstring Format](https://peps.python.org/pep-0287/)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue