Use imperative mood in constructor docstring.
Resolves D401 in pydocstyle and flake8. Signed-off-by: Steven! Ragnarök <steven@nuclearsandwich.com>
This commit is contained in:
parent
866dada87b
commit
ae1c4766a2
2 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ class Trace(Action):
|
|||
**kwargs,
|
||||
) -> None:
|
||||
"""
|
||||
Constructor.
|
||||
Create a Trace.
|
||||
|
||||
:param session_name: the name of the tracing session
|
||||
:param append_timestamp: whether to append timestamp to the session name
|
||||
|
|
|
@ -51,7 +51,7 @@ class TraceTestCase(unittest.TestCase):
|
|||
events_kernel: List[str] = None,
|
||||
package: str = 'tracetools_test',
|
||||
) -> None:
|
||||
"""Constructor."""
|
||||
"""Create a TraceTestCase."""
|
||||
super().__init__(methodName=args[0])
|
||||
self._base_path = base_path
|
||||
self._session_name_prefix = session_name_prefix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue