[pydocstyle] Avoid non-character breaks in over-indentation (D208) (#8866)

Closes https://github.com/astral-sh/ruff/issues/8844.
This commit is contained in:
Charlie Marsh 2023-11-27 21:47:35 -08:00 committed by GitHub
parent 60eb11fa50
commit ed14fd9163
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 77 additions and 6 deletions

View file

@ -46,6 +46,7 @@ mod tests {
#[test_case(Rule::NoBlankLineBeforeFunction, Path::new("D.py"))]
#[test_case(Rule::BlankLinesBetweenHeaderAndContent, Path::new("sections.py"))]
#[test_case(Rule::OverIndentation, Path::new("D.py"))]
#[test_case(Rule::OverIndentation, Path::new("D208.py"))]
#[test_case(Rule::NoSignature, Path::new("D.py"))]
#[test_case(Rule::SurroundingWhitespace, Path::new("D.py"))]
#[test_case(Rule::DocstringStartsWithThis, Path::new("D.py"))]