mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 13:25:17 +00:00
[pydocstyle
] Improve heuristics for detecting Google-style docstrings (#13142)
This commit is contained in:
parent
ee258caed7
commit
281e6d9791
5 changed files with 91 additions and 357 deletions
|
@ -2,7 +2,7 @@ use crate::docstrings::google::GOOGLE_SECTIONS;
|
|||
use crate::docstrings::numpy::NUMPY_SECTIONS;
|
||||
use crate::docstrings::sections::SectionKind;
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
#[derive(Copy, Clone, Debug, is_macro::Is)]
|
||||
pub(crate) enum SectionStyle {
|
||||
Numpy,
|
||||
Google,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue