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:
Dhruv Manilawala 2024-08-14 21:31:53 +05:30 committed by Micha Reiser
parent 15aa5a6d57
commit 73160dc8b6
13 changed files with 72 additions and 164 deletions

View file

@ -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/)