Skip to content

Commit 90e81ec

Browse files
committed
fix case of pydocstyle
1 parent d4a1011 commit 90e81ec

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@
625625
"default": "flake8",
626626
"description": "Path to flake8, you can use a custom version of flake8 by modifying this setting to include the full path."
627627
},
628-
"python.linting.pydocStylePath": {
628+
"python.linting.pydocstylePath": {
629629
"type": "string",
630630
"default": "pydocstyle",
631631
"description": "Path to pydocstyle, you can use a custom version of pydocstyle by modifying this setting to include the full path."
@@ -667,7 +667,7 @@
667667
"type": "string"
668668
}
669669
},
670-
"python.linting.pydocStyleArgs": {
670+
"python.linting.pydocstyleArgs": {
671671
"type": "array",
672672
"description": "Arguments passed in. Each argument is a separate item in the array.",
673673
"default": [],

src/client/common/configSettings.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export interface ILintingSettings {
5151
flake8Enabled: boolean;
5252
flake8Args: string[];
5353
pydocstyleEnabled: boolean;
54-
pydocstleArgs: string[];
54+
pydocstyleArgs: string[];
5555
lintOnTextChange: boolean;
5656
lintOnSave: boolean;
5757
maxNumberOfProblems: number;
@@ -138,7 +138,7 @@ export class PythonSettings extends EventEmitter implements IPythonSettings {
138138
mypyArgs: [], mypyEnabled: false, mypyPath: 'mypy',
139139
outputWindow: 'python', pep8Args: [], pep8Enabled: false, pep8Path: 'pep8',
140140
prospectorArgs: [], prospectorEnabled: false, prospectorPath: 'prospector',
141-
pydocstleArgs: [], pydocstyleEnabled: false, pydocStylePath: 'pydocstyle',
141+
pydocstyleArgs: [], pydocstyleEnabled: false, pydocStylePath: 'pydocstyle',
142142
pylintArgs: [], pylintEnabled: false, pylintPath: 'pylint',
143143
pylintCategorySeverity: {
144144
convention: vscode.DiagnosticSeverity.Hint,

src/client/linters/pydocstyle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class Linter extends baseLinter.BaseLinter {
2121
}
2222

2323
let pydocStylePath = this.pythonSettings.linting.pydocStylePath;
24-
let pydocstyleArgs = Array.isArray(this.pythonSettings.linting.pydocstleArgs) ? this.pythonSettings.linting.pydocstleArgs : [];
24+
let pydocstyleArgs = Array.isArray(this.pythonSettings.linting.pydocstyleArgs) ? this.pythonSettings.linting.pydocstyleArgs : [];
2525
return new Promise<baseLinter.ILintMessage[]>(resolve => {
2626
this.run(pydocStylePath, pydocstyleArgs.concat([filePath]), filePath, txtDocumentLines).then(messages => {
2727
// All messages in pep8 are treated as warnings for now

0 commit comments

Comments
 (0)