Skip to content

Commit 5316964

Browse files
committed
style
1 parent ba5f3f1 commit 5316964

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

_unittests/ut_xrun_doc/test_documentation_examples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def run_test(self, fold: str, name: str, verbose=0) -> int:
4040
cmds = [sys.executable, "-u", os.path.join(fold, name)]
4141
p = subprocess.Popen(cmds, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
4242
res = p.communicate()
43-
out, err = res
43+
_out, err = res
4444
st = err.decode("ascii", errors="ignore")
4545
if st and "Traceback" in st:
4646
if '"dot" not found in path.' in st:

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,12 @@ select = [
3939
]
4040

4141
[tool.ruff.lint.per-file-ignores]
42-
"**" = ["B905", "C401", "C408", "C413", "PYI041", "RUF012", "RUF100", "RUF010", "SIM108", "SIM910", "SIM110", "SIM102", "SIM114", "SIM103", "UP015", "UP027", "UP031", "UP034", "UP032", "UP006", "UP035", "UP007", "UP038"]
42+
"**" = [
43+
"B905", "C401", "C408", "C413", "PYI041",
44+
"RUF012", "RUF100", "RUF010",
45+
"SIM108", "SIM910", "SIM110", "SIM102", "SIM114", "SIM103",
46+
"UP015", "UP027", "UP031", "UP034", "UP032", "UP006", "UP035", "UP007", "UP038", "UP045"
47+
]
4348
"**/plot*.py" = ["B018"]
4449
"_doc/examples/plot_first_example.py" = ["E402", "F811"]
4550
"_doc/examples/plot_onnxruntime.py" = ["E402", "F811"]

0 commit comments

Comments
 (0)