diff options
| author | Trevor Gross <tmgross@umich.edu> | 2023-06-22 01:59:24 -0400 |
|---|---|---|
| committer | Trevor Gross <tmgross@umich.edu> | 2023-08-02 04:40:28 -0400 |
| commit | 9df0f5d43341a67741b55020def1474ae3748128 (patch) | |
| tree | b9520126688313a47b9887ed16235790dd0014ad /src/ci/docker/scripts | |
| parent | efc49e4dfaeeda3c0ee3d2eca90bb532dc7f7610 (diff) | |
| download | rust-9df0f5d43341a67741b55020def1474ae3748128.tar.gz rust-9df0f5d43341a67741b55020def1474ae3748128.zip | |
Fix recent python linting errors
- Remove unneeded imports in 'fuscia-test-runner.py' - Add explicit stacklevel to 'x.py' - Fix mutable types as default args in `bootstrap.py` and `bootstrap_test.py`
Diffstat (limited to 'src/ci/docker/scripts')
| -rwxr-xr-x | src/ci/docker/scripts/fuchsia-test-runner.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ci/docker/scripts/fuchsia-test-runner.py b/src/ci/docker/scripts/fuchsia-test-runner.py index af01f9ccbbc..f78d446c8b7 100755 --- a/src/ci/docker/scripts/fuchsia-test-runner.py +++ b/src/ci/docker/scripts/fuchsia-test-runner.py @@ -15,12 +15,10 @@ import hashlib import json import os import platform -import re import shutil -import signal import subprocess import sys -from typing import ClassVar, List, Optional +from typing import ClassVar, List @dataclass @@ -523,7 +521,7 @@ class TestEnvironment: env_vars += '\n "RUST_BACKTRACE=0",' # Use /tmp as the test temporary directory - env_vars += f'\n "RUST_TEST_TMPDIR=/tmp",' + env_vars += '\n "RUST_TEST_TMPDIR=/tmp",' cml.write( self.CML_TEMPLATE.format(env_vars=env_vars, exe_name=exe_name) |
