Built In Hooks¶
|
Remove the given directory and its contents. |
-
rmdir
(path)[source]¶ Remove the given directory and its contents.
- Parameters
- Return type
- Returns
A message in the format
'removing <path>'
Attention
To support Windows-like systems using
\
as a path separator you may need to use a raw string for the path as thetoxinidir
substitution may contain backslashes:recreate_hook = builtin.rmdir(r"{toxinidir}/doc-source/build")