Skip to content

Commit c69221b

Browse files
committed
MS Wwindows warnings don't need deep stacktraces
1 parent 43c2414 commit c69221b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

cwltool/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,8 @@ def windows_check() -> None:
14331433
"Windows Subsystem for Linux 2 (WSL2). If don't need to execute "
14341434
"CWL documents, then you can ignore this warning, but please "
14351435
"consider migrating to https://pypi.org/project/cwl-utils/ "
1436-
"for your CWL document processing needs."
1436+
"for your CWL document processing needs.",
1437+
stacklevel=1,
14371438
)
14381439

14391440

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"Windows Subsystem for Linux 2 (WSL2). If don't need to execute "
1818
"CWL documents, then you can ignore this warning, but please "
1919
"consider migrating to https://pypi.org/project/cwl-utils/ "
20-
"for your CWL document processing needs."
20+
"for your CWL document processing needs.",
21+
stacklevel=1,
2122
)
2223

2324
SETUP_DIR = os.path.dirname(__file__)

0 commit comments

Comments
 (0)