[pydocstyle] Improve heuristics for detecting Google-style docstrings (#13142)

This commit is contained in:
Alex Waygood 2024-08-29 16:33:18 +01:00 committed by GitHub
parent ee258caed7
commit 281e6d9791
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 91 additions and 357 deletions

View file

@ -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,