Remove unused code (#4327)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
1c753cbce6
commit
9366062af2
14 changed files with 134 additions and 263 deletions
|
|
@ -22,7 +22,7 @@ class WorkingDirectory(contextlib.ContextDecorator):
|
|||
"""Changes the current directory to the specified directory."""
|
||||
os.chdir(self.dir)
|
||||
|
||||
def __exit__(self, exc_type, exc_val, exc_tb):
|
||||
def __exit__(self, exc_type, exc_val, exc_tb): # noqa
|
||||
"""Restore the current working directory on context exit."""
|
||||
os.chdir(self.cwd)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue