Skip to content

Commit 8ed74f2

Browse files
committed
linting
1 parent 5698772 commit 8ed74f2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/client/terminals/codeExecution/terminalReplWatcher.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ import { EventName } from '../../telemetry/constants';
55

66
function checkREPLCommand(command: string): undefined | 'manualTerminal' | `runningScript` | 'runningTest' {
77
const lower = command.toLowerCase().trimStart();
8-
8+
99
// Check for test commands
1010
if (
11-
lower.includes('pytest') ||
12-
(lower.startsWith('python') && lower.includes(' -m pytest')) ||
11+
lower.includes('pytest') ||
12+
(lower.startsWith('python') && lower.includes(' -m pytest')) ||
1313
(lower.startsWith('py ') && lower.includes(' -m pytest')) ||
1414
(lower.startsWith('python') && lower.includes(' -m unittest')) ||
1515
(lower.startsWith('py ') && lower.includes(' -m unittest')) ||
1616
lower.includes('py.test')
1717
) {
1818
return 'runningTest';
1919
}
20-
20+
2121
// Regular Python commands
2222
if (lower.startsWith('python') || lower.startsWith('py ')) {
2323
const parts = lower.split(' ');

0 commit comments

Comments
 (0)