We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e260e7 commit c634ffdCopy full SHA for c634ffd
src/test/linters/lint.args.test.ts
@@ -137,7 +137,8 @@ suite('Linting - Arguments', () => {
137
});
138
test('MyPy', async () => {
139
const linter = new MyPy(outputChannel.object, serviceContainer);
140
- const expectedArgs = [fileUri.fsPath];
+ const expectedPath = workspaceUri ? path.join(path.basename(path.dirname(fileUri.fsPath)), path.basename(fileUri.fsPath)) : path.basename(fileUri.fsPath);
141
+ const expectedArgs = [expectedPath];
142
await testLinter(linter, expectedArgs);
143
144
test('Pydocstyle', async () => {
0 commit comments