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:
Steven! Ragnarök 2019-12-09 14:17:18 -05:00
parent 866dada87b
commit ae1c4766a2
2 changed files with 2 additions and 2 deletions

View file

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

View file

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