From dc285e5eabfd4cbd9ee8587e02997c2e9cb98e86 Mon Sep 17 00:00:00 2001 From: Seth Foster Date: Fri, 10 Feb 2023 10:33:20 -0500 Subject: [PATCH] chore(hardware): Remove docstring content checks (#12128) These were mostly annoying and entirely surface level and trip up so many PRs and who cares. The removed ones are D400 | First line should end with a period D401 | First line should be in imperative mood D401 | First line should be in imperative mood; try rephrasing D403 | First word of the first line should be properly capitalized D404 | First word of the docstring should not be This D415 | First line should end with a period, question mark, or exclamation point D105 | Missing docstring in magic method --- hardware/.flake8 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hardware/.flake8 b/hardware/.flake8 index ffad76e93a9..c2a88e49402 100644 --- a/hardware/.flake8 +++ b/hardware/.flake8 @@ -12,6 +12,15 @@ extend-ignore = # do not require type annotations for self nor cls ANN101, ANN102 + # do not grammar pedant me any more + D400, + D401, + D403, + D404, + D415, + # there's no need to mandate docstrings in like __add__ (note that __init__ + # is covered separately by D107) + D105, # configure flake8-docstrings # https://pypi.org/project/flake8-docstrings/