Allow diagnostics to generate multi-edit fixes (#3709)

This commit is contained in:
Charlie Marsh
2023-03-26 16:45:19 -04:00
committed by GitHub
parent 32be63fd1e
commit e603382cf0
731 changed files with 17319 additions and 13447 deletions

1
Cargo.lock generated
View File

@@ -2259,6 +2259,7 @@ dependencies = [
"js-sys",
"log",
"ruff",
"ruff_diagnostics",
"ruff_python_ast",
"ruff_rustpython",
"rustpython-parser",

View File

@@ -4,7 +4,7 @@ use itertools::Itertools;
use rustc_hash::FxHashMap;
use rustpython_parser::ast::Location;
use ruff_diagnostics::{Diagnostic, Edit};
use ruff_diagnostics::{Diagnostic, Edit, Fix};
use ruff_python_ast::source_code::Locator;
use ruff_python_ast::types::Range;
@@ -15,7 +15,7 @@ pub mod helpers;
/// Auto-fix errors in a file, and write the fixed source code to disk.
pub fn fix_file(diagnostics: &[Diagnostic], locator: &Locator) -> Option<(String, FixTable)> {
if diagnostics.iter().all(|check| check.fix.is_none()) {
if diagnostics.iter().all(|check| check.fix.is_empty()) {
None
} else {
Some(apply_fixes(diagnostics.iter(), locator))
@@ -34,36 +34,43 @@ fn apply_fixes<'a>(
for (rule, fix) in diagnostics
.filter_map(|diagnostic| {
diagnostic
.fix
.as_ref()
.map(|fix| (diagnostic.kind.rule(), fix))
if diagnostic.fix.is_empty() {
None
} else {
Some((diagnostic.kind.rule(), &diagnostic.fix))
}
})
.sorted_by(|(rule1, fix1), (rule2, fix2)| cmp_fix(*rule1, *rule2, fix1, fix2))
{
// If we already applied an identical fix as part of another correction, skip
// any re-application.
if applied.contains(&fix) {
if fix.edits().iter().all(|edit| applied.contains(edit)) {
*fixed.entry(rule).or_default() += 1;
continue;
}
// Best-effort approach: if this fix overlaps with a fix we've already applied,
// skip it.
if last_pos.map_or(false, |last_pos| last_pos >= fix.location) {
if last_pos.map_or(false, |last_pos| {
fix.location()
.map_or(false, |fix_location| last_pos >= fix_location)
}) {
continue;
}
// Add all contents from `last_pos` to `fix.location`.
let slice = locator.slice(Range::new(last_pos.unwrap_or_default(), fix.location));
output.push_str(slice);
for edit in fix.edits() {
// Add all contents from `last_pos` to `fix.location`.
let slice = locator.slice(Range::new(last_pos.unwrap_or_default(), edit.location));
output.push_str(slice);
// Add the patch itself.
output.push_str(&fix.content);
// Add the patch itself.
output.push_str(&edit.content);
// Track that the edit was applied.
last_pos = Some(edit.end_location);
applied.insert(edit);
}
// Track that the fix was applied.
last_pos = Some(fix.end_location);
applied.insert(fix);
*fixed.entry(rule).or_default() += 1;
}
@@ -93,9 +100,9 @@ pub(crate) fn apply_fix(fix: &Edit, locator: &Locator) -> String {
}
/// Compare two fixes.
fn cmp_fix(rule1: Rule, rule2: Rule, fix1: &Edit, fix2: &Edit) -> std::cmp::Ordering {
fix1.location
.cmp(&fix2.location)
fn cmp_fix(rule1: Rule, rule2: Rule, fix1: &Fix, fix2: &Fix) -> std::cmp::Ordering {
fix1.location()
.cmp(&fix2.location())
.then_with(|| match (&rule1, &rule2) {
// Apply `EndsInPeriod` fixes before `NewLineAfterLastParagraph` fixes.
(Rule::EndsInPeriod, Rule::NewLineAfterLastParagraph) => std::cmp::Ordering::Less,
@@ -115,15 +122,14 @@ mod tests {
use crate::autofix::{apply_fix, apply_fixes};
use crate::rules::pycodestyle::rules::MissingNewlineAtEndOfFile;
fn create_diagnostics(fixes: impl IntoIterator<Item = Edit>) -> Vec<Diagnostic> {
fixes
.into_iter()
.map(|fix| Diagnostic {
fn create_diagnostics(edit: impl IntoIterator<Item = Edit>) -> Vec<Diagnostic> {
edit.into_iter()
.map(|edit| Diagnostic {
// The choice of rule here is arbitrary.
kind: MissingNewlineAtEndOfFile.into(),
location: fix.location,
end_location: fix.end_location,
fix: Some(fix),
location: edit.location,
end_location: edit.end_location,
fix: edit.into(),
parent: None,
})
.collect()

View File

@@ -2455,7 +2455,7 @@ where
pyupgrade::rules::replace_universal_newlines(self, func, keywords);
}
if self.settings.rules.enabled(Rule::ReplaceStdoutStderr) {
pyupgrade::rules::replace_stdout_stderr(self, expr, func, keywords);
pyupgrade::rules::replace_stdout_stderr(self, expr, func, args, keywords);
}
if self.settings.rules.enabled(Rule::OSErrorAlias) {
pyupgrade::rules::os_error_alias_call(self, func);

View File

@@ -5,7 +5,7 @@ use itertools::Itertools;
use rustpython_parser::ast::Location;
use rustpython_parser::lexer::LexResult;
use ruff_diagnostics::Diagnostic;
use ruff_diagnostics::{Diagnostic, Fix};
use ruff_python_ast::source_code::{Locator, Stylist};
use ruff_python_ast::types::Range;
@@ -75,7 +75,7 @@ pub fn check_logical_lines(
kind,
location,
end_location: location,
fix: None,
fix: Fix::empty(),
parent: None,
});
}
@@ -93,7 +93,7 @@ pub fn check_logical_lines(
kind,
location,
end_location: location,
fix: None,
fix: Fix::empty(),
parent: None,
});
}
@@ -108,7 +108,7 @@ pub fn check_logical_lines(
kind,
location,
end_location: location,
fix: None,
fix: Fix::empty(),
parent: None,
});
}
@@ -120,7 +120,7 @@ pub fn check_logical_lines(
kind,
location,
end_location: location,
fix: None,
fix: Fix::empty(),
parent: None,
});
}
@@ -133,7 +133,7 @@ pub fn check_logical_lines(
kind,
location: range.location,
end_location: range.end_location,
fix: None,
fix: Fix::empty(),
parent: None,
});
}
@@ -148,7 +148,7 @@ pub fn check_logical_lines(
kind,
location,
end_location: location,
fix: None,
fix: Fix::empty(),
parent: None,
});
}
@@ -159,7 +159,7 @@ pub fn check_logical_lines(
kind,
location,
end_location: location,
fix: None,
fix: Fix::empty(),
parent: None,
});
}
@@ -210,7 +210,7 @@ pub fn check_logical_lines(
kind,
location,
end_location: location,
fix: None,
fix: Fix::empty(),
parent: None,
});
}

View File

@@ -3,7 +3,7 @@ use std::cmp::Ordering;
pub use rustpython_parser::ast::Location;
use serde::{Deserialize, Serialize};
use ruff_diagnostics::{Diagnostic, DiagnosticKind, Edit};
use ruff_diagnostics::{Diagnostic, DiagnosticKind, Fix};
use ruff_python_ast::source_code::Locator;
use ruff_python_ast::types::Range;
@@ -12,7 +12,7 @@ pub struct Message {
pub kind: DiagnosticKind,
pub location: Location,
pub end_location: Location,
pub fix: Option<Edit>,
pub fix: Fix,
pub filename: String,
pub source: Option<Source>,
pub noqa_row: usize,

View File

@@ -14,13 +14,14 @@ expression: diagnostics
row: 1
column: 10
fix:
content: ""
location:
row: 1
column: 0
end_location:
row: 2
column: 0
edits:
- content: ""
location:
row: 1
column: 0
end_location:
row: 2
column: 0
parent: ~
- kind:
name: CommentedOutCode
@@ -34,13 +35,14 @@ expression: diagnostics
row: 2
column: 22
fix:
content: ""
location:
row: 2
column: 0
end_location:
row: 3
column: 0
edits:
- content: ""
location:
row: 2
column: 0
end_location:
row: 3
column: 0
parent: ~
- kind:
name: CommentedOutCode
@@ -54,13 +56,14 @@ expression: diagnostics
row: 3
column: 6
fix:
content: ""
location:
row: 3
column: 0
end_location:
row: 4
column: 0
edits:
- content: ""
location:
row: 3
column: 0
end_location:
row: 4
column: 0
parent: ~
- kind:
name: CommentedOutCode
@@ -74,13 +77,14 @@ expression: diagnostics
row: 5
column: 13
fix:
content: ""
location:
row: 5
column: 0
end_location:
row: 6
column: 0
edits:
- content: ""
location:
row: 5
column: 0
end_location:
row: 6
column: 0
parent: ~
- kind:
name: CommentedOutCode
@@ -94,12 +98,13 @@ expression: diagnostics
row: 12
column: 16
fix:
content: ""
location:
row: 12
column: 0
end_location:
row: 13
column: 0
edits:
- content: ""
location:
row: 12
column: 0
end_location:
row: 13
column: 0
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 6
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersionSlice3
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 7
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersionSlice3
@@ -39,6 +41,7 @@ expression: diagnostics
end_location:
row: 8
column: 7
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 4
column: 22
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersion2
@@ -26,6 +27,7 @@ expression: diagnostics
end_location:
row: 5
column: 18
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 4
column: 7
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersionCmpStr3
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 5
column: 11
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersionCmpStr3
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 6
column: 11
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersionCmpStr3
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 7
column: 11
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersionCmpStr3
@@ -65,6 +69,7 @@ expression: diagnostics
end_location:
row: 8
column: 11
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 7
column: 25
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersionInfo0Eq3
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 8
column: 21
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersionInfo0Eq3
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 9
column: 25
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersionInfo0Eq3
@@ -52,6 +55,7 @@ expression: diagnostics
end_location:
row: 10
column: 21
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 4
column: 10
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SixPY3
@@ -26,6 +27,7 @@ expression: diagnostics
end_location:
row: 6
column: 6
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 4
column: 19
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersionInfo1CmpInt
@@ -26,6 +27,7 @@ expression: diagnostics
end_location:
row: 5
column: 15
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 4
column: 22
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersionInfoMinorCmpInt
@@ -26,6 +27,7 @@ expression: diagnostics
end_location:
row: 5
column: 18
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 4
column: 22
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersion0
@@ -26,6 +27,7 @@ expression: diagnostics
end_location:
row: 5
column: 18
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 4
column: 7
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersionCmpStr10
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 5
column: 11
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersionCmpStr10
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 6
column: 11
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersionCmpStr10
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 7
column: 11
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersionCmpStr10
@@ -65,6 +69,7 @@ expression: diagnostics
end_location:
row: 8
column: 11
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 4
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SysVersionSlice1
@@ -26,6 +27,7 @@ expression: diagnostics
end_location:
row: 5
column: 13
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,6 +13,7 @@ expression: diagnostics
end_location:
row: 29
column: 11
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 10
column: 14
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AnyType
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 15
column: 49
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AnyType
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 40
column: 31
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AnyType
@@ -52,6 +55,7 @@ expression: diagnostics
end_location:
row: 44
column: 69
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 4
column: 7
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingTypeFunctionArgument
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 4
column: 9
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingTypeFunctionArgument
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 4
column: 12
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingReturnTypeUndocumentedPublicFunction
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 9
column: 7
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingTypeFunctionArgument
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 9
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingTypeFunctionArgument
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 14
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingReturnTypeUndocumentedPublicFunction
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 19
column: 7
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingReturnTypeUndocumentedPublicFunction
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 24
column: 7
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AnyType
@@ -117,7 +125,8 @@ expression: diagnostics
end_location:
row: 44
column: 14
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AnyType
@@ -130,7 +139,8 @@ expression: diagnostics
end_location:
row: 49
column: 49
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AnyType
@@ -143,7 +153,8 @@ expression: diagnostics
end_location:
row: 54
column: 26
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AnyType
@@ -156,7 +167,8 @@ expression: diagnostics
end_location:
row: 54
column: 41
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AnyType
@@ -169,7 +181,8 @@ expression: diagnostics
end_location:
row: 59
column: 26
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AnyType
@@ -182,7 +195,8 @@ expression: diagnostics
end_location:
row: 64
column: 41
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingTypeSelf
@@ -195,7 +209,8 @@ expression: diagnostics
end_location:
row: 74
column: 16
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AnyType
@@ -208,7 +223,8 @@ expression: diagnostics
end_location:
row: 78
column: 31
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AnyType
@@ -221,7 +237,8 @@ expression: diagnostics
end_location:
row: 82
column: 69
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AnyType
@@ -234,7 +251,8 @@ expression: diagnostics
end_location:
row: 86
column: 45
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AnyType
@@ -247,7 +265,8 @@ expression: diagnostics
end_location:
row: 86
column: 61
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AnyType
@@ -260,7 +279,8 @@ expression: diagnostics
end_location:
row: 90
column: 45
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AnyType
@@ -273,7 +293,8 @@ expression: diagnostics
end_location:
row: 94
column: 61
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingTypeCls
@@ -286,7 +307,8 @@ expression: diagnostics
end_location:
row: 104
column: 15
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingTypeSelf
@@ -299,6 +321,7 @@ expression: diagnostics
end_location:
row: 108
column: 16
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 24
column: 27
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingTypeFunctionArgument
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 24
column: 37
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingTypeFunctionArgument
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 28
column: 37
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingReturnTypeUndocumentedPublicFunction
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 32
column: 27
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingReturnTypeUndocumentedPublicFunction
@@ -65,6 +69,7 @@ expression: diagnostics
end_location:
row: 43
column: 24
fix: ~
fix:
edits: []
parent: ~

View File

@@ -14,13 +14,14 @@ expression: diagnostics
row: 5
column: 16
fix:
content: " -> None"
location:
row: 5
column: 22
end_location:
row: 5
column: 22
edits:
- content: " -> None"
location:
row: 5
column: 22
end_location:
row: 5
column: 22
parent: ~
- kind:
name: MissingReturnTypeSpecialMethod
@@ -34,13 +35,14 @@ expression: diagnostics
row: 11
column: 16
fix:
content: " -> None"
location:
row: 11
column: 27
end_location:
row: 11
column: 27
edits:
- content: " -> None"
location:
row: 11
column: 27
end_location:
row: 11
column: 27
parent: ~
- kind:
name: MissingReturnTypePrivateFunction
@@ -53,7 +55,8 @@ expression: diagnostics
end_location:
row: 40
column: 12
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingReturnTypeSpecialMethod
@@ -67,12 +70,13 @@ expression: diagnostics
row: 47
column: 16
fix:
content: " -> None"
location:
row: 47
column: 28
end_location:
row: 47
column: 28
edits:
- content: " -> None"
location:
row: 47
column: 28
end_location:
row: 47
column: 28
parent: ~

View File

@@ -14,13 +14,14 @@ expression: diagnostics
row: 2
column: 15
fix:
content: " -> str"
location:
row: 2
column: 21
end_location:
row: 2
column: 21
edits:
- content: " -> str"
location:
row: 2
column: 21
end_location:
row: 2
column: 21
parent: ~
- kind:
name: MissingReturnTypeSpecialMethod
@@ -34,13 +35,14 @@ expression: diagnostics
row: 5
column: 16
fix:
content: " -> str"
location:
row: 5
column: 22
end_location:
row: 5
column: 22
edits:
- content: " -> str"
location:
row: 5
column: 22
end_location:
row: 5
column: 22
parent: ~
- kind:
name: MissingReturnTypeSpecialMethod
@@ -54,13 +56,14 @@ expression: diagnostics
row: 8
column: 15
fix:
content: " -> int"
location:
row: 8
column: 21
end_location:
row: 8
column: 21
edits:
- content: " -> int"
location:
row: 8
column: 21
end_location:
row: 8
column: 21
parent: ~
- kind:
name: MissingReturnTypeSpecialMethod
@@ -74,13 +77,14 @@ expression: diagnostics
row: 11
column: 23
fix:
content: " -> int"
location:
row: 11
column: 29
end_location:
row: 11
column: 29
edits:
- content: " -> int"
location:
row: 11
column: 29
end_location:
row: 11
column: 29
parent: ~
- kind:
name: MissingReturnTypeSpecialMethod
@@ -94,13 +98,14 @@ expression: diagnostics
row: 14
column: 16
fix:
content: " -> None"
location:
row: 14
column: 22
end_location:
row: 14
column: 22
edits:
- content: " -> None"
location:
row: 14
column: 22
end_location:
row: 14
column: 22
parent: ~
- kind:
name: MissingReturnTypeSpecialMethod
@@ -114,13 +119,14 @@ expression: diagnostics
row: 17
column: 15
fix:
content: " -> None"
location:
row: 17
column: 21
end_location:
row: 17
column: 21
edits:
- content: " -> None"
location:
row: 17
column: 21
end_location:
row: 17
column: 21
parent: ~
- kind:
name: MissingReturnTypeSpecialMethod
@@ -134,13 +140,14 @@ expression: diagnostics
row: 20
column: 16
fix:
content: " -> bool"
location:
row: 20
column: 22
end_location:
row: 20
column: 22
edits:
- content: " -> bool"
location:
row: 20
column: 22
end_location:
row: 20
column: 22
parent: ~
- kind:
name: MissingReturnTypeSpecialMethod
@@ -154,13 +161,14 @@ expression: diagnostics
row: 23
column: 17
fix:
content: " -> bytes"
location:
row: 23
column: 23
end_location:
row: 23
column: 23
edits:
- content: " -> bytes"
location:
row: 23
column: 23
end_location:
row: 23
column: 23
parent: ~
- kind:
name: MissingReturnTypeSpecialMethod
@@ -174,13 +182,14 @@ expression: diagnostics
row: 26
column: 18
fix:
content: " -> str"
location:
row: 26
column: 37
end_location:
row: 26
column: 37
edits:
- content: " -> str"
location:
row: 26
column: 37
end_location:
row: 26
column: 37
parent: ~
- kind:
name: MissingReturnTypeSpecialMethod
@@ -194,13 +203,14 @@ expression: diagnostics
row: 29
column: 20
fix:
content: " -> bool"
location:
row: 29
column: 32
end_location:
row: 29
column: 32
edits:
- content: " -> bool"
location:
row: 29
column: 32
end_location:
row: 29
column: 32
parent: ~
- kind:
name: MissingReturnTypeSpecialMethod
@@ -214,13 +224,14 @@ expression: diagnostics
row: 32
column: 19
fix:
content: " -> complex"
location:
row: 32
column: 25
end_location:
row: 32
column: 25
edits:
- content: " -> complex"
location:
row: 32
column: 25
end_location:
row: 32
column: 25
parent: ~
- kind:
name: MissingReturnTypeSpecialMethod
@@ -234,13 +245,14 @@ expression: diagnostics
row: 35
column: 15
fix:
content: " -> int"
location:
row: 35
column: 21
end_location:
row: 35
column: 21
edits:
- content: " -> int"
location:
row: 35
column: 21
end_location:
row: 35
column: 21
parent: ~
- kind:
name: MissingReturnTypeSpecialMethod
@@ -254,13 +266,14 @@ expression: diagnostics
row: 38
column: 17
fix:
content: " -> float"
location:
row: 38
column: 23
end_location:
row: 38
column: 23
edits:
- content: " -> float"
location:
row: 38
column: 23
end_location:
row: 38
column: 23
parent: ~
- kind:
name: MissingReturnTypeSpecialMethod
@@ -274,12 +287,13 @@ expression: diagnostics
row: 41
column: 17
fix:
content: " -> int"
location:
row: 41
column: 23
end_location:
row: 41
column: 23
edits:
- content: " -> int"
location:
row: 41
column: 23
end_location:
row: 41
column: 23
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 45
column: 7
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingReturnTypeUndocumentedPublicFunction
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 50
column: 7
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingTypeFunctionArgument
@@ -39,6 +41,7 @@ expression: diagnostics
end_location:
row: 59
column: 9
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 2
column: 6
fix: ~
fix:
edits: []
parent: ~
- kind:
name: Assert
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 8
column: 10
fix: ~
fix:
edits: []
parent: ~
- kind:
name: Assert
@@ -39,6 +41,7 @@ expression: diagnostics
end_location:
row: 11
column: 10
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 3
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: ExecBuiltin
@@ -26,6 +27,7 @@ expression: diagnostics
end_location:
row: 5
column: 13
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 6
column: 29
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BadFilePermissions
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 7
column: 27
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BadFilePermissions
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 9
column: 29
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BadFilePermissions
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 10
column: 29
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BadFilePermissions
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 11
column: 29
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BadFilePermissions
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 13
column: 25
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BadFilePermissions
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 14
column: 28
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BadFilePermissions
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 15
column: 29
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BadFilePermissions
@@ -117,7 +125,8 @@ expression: diagnostics
end_location:
row: 17
column: 23
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BadFilePermissions
@@ -130,7 +139,8 @@ expression: diagnostics
end_location:
row: 18
column: 36
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BadFilePermissions
@@ -143,7 +153,8 @@ expression: diagnostics
end_location:
row: 19
column: 60
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BadFilePermissions
@@ -156,7 +167,8 @@ expression: diagnostics
end_location:
row: 20
column: 38
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BadFilePermissions
@@ -169,6 +181,7 @@ expression: diagnostics
end_location:
row: 22
column: 36
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 9
column: 9
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedBindAllInterfaces
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 10
column: 9
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedBindAllInterfaces
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 14
column: 14
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedBindAllInterfaces
@@ -52,6 +55,7 @@ expression: diagnostics
end_location:
row: 18
column: 17
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 13
column: 19
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 14
column: 16
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 15
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 16
column: 14
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 17
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 18
column: 16
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 19
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 20
column: 26
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -117,7 +125,8 @@ expression: diagnostics
end_location:
row: 21
column: 26
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -130,7 +139,8 @@ expression: diagnostics
end_location:
row: 22
column: 19
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -143,7 +153,8 @@ expression: diagnostics
end_location:
row: 23
column: 19
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -156,7 +167,8 @@ expression: diagnostics
end_location:
row: 25
column: 24
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -169,7 +181,8 @@ expression: diagnostics
end_location:
row: 26
column: 20
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -182,7 +195,8 @@ expression: diagnostics
end_location:
row: 27
column: 22
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -195,7 +209,8 @@ expression: diagnostics
end_location:
row: 28
column: 19
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -208,7 +223,8 @@ expression: diagnostics
end_location:
row: 29
column: 22
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -221,7 +237,8 @@ expression: diagnostics
end_location:
row: 30
column: 21
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -234,7 +251,8 @@ expression: diagnostics
end_location:
row: 31
column: 23
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -247,7 +265,8 @@ expression: diagnostics
end_location:
row: 32
column: 31
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -260,7 +279,8 @@ expression: diagnostics
end_location:
row: 33
column: 31
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -273,7 +293,8 @@ expression: diagnostics
end_location:
row: 37
column: 23
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -286,7 +307,8 @@ expression: diagnostics
end_location:
row: 41
column: 27
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -299,7 +321,8 @@ expression: diagnostics
end_location:
row: 42
column: 24
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -312,7 +335,8 @@ expression: diagnostics
end_location:
row: 43
column: 25
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -325,7 +349,8 @@ expression: diagnostics
end_location:
row: 44
column: 22
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -338,7 +363,8 @@ expression: diagnostics
end_location:
row: 45
column: 25
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -351,7 +377,8 @@ expression: diagnostics
end_location:
row: 46
column: 24
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -364,7 +391,8 @@ expression: diagnostics
end_location:
row: 47
column: 26
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -377,7 +405,8 @@ expression: diagnostics
end_location:
row: 49
column: 20
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -390,7 +419,8 @@ expression: diagnostics
end_location:
row: 50
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -403,7 +433,8 @@ expression: diagnostics
end_location:
row: 51
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -416,7 +447,8 @@ expression: diagnostics
end_location:
row: 52
column: 15
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -429,7 +461,8 @@ expression: diagnostics
end_location:
row: 53
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -442,7 +475,8 @@ expression: diagnostics
end_location:
row: 54
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -455,7 +489,8 @@ expression: diagnostics
end_location:
row: 55
column: 19
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -468,7 +503,8 @@ expression: diagnostics
end_location:
row: 56
column: 28
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -481,7 +517,8 @@ expression: diagnostics
end_location:
row: 58
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -494,7 +531,8 @@ expression: diagnostics
end_location:
row: 61
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordString
@@ -507,6 +545,7 @@ expression: diagnostics
end_location:
row: 64
column: 18
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,6 +13,7 @@ expression: diagnostics
end_location:
row: 14
column: 25
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 5
column: 37
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordDefault
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 13
column: 53
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordDefault
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 21
column: 46
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordDefault
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 29
column: 47
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedPasswordDefault
@@ -65,6 +69,7 @@ expression: diagnostics
end_location:
row: 29
column: 69
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 5
column: 20
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedTempFile
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 8
column: 24
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedTempFile
@@ -39,6 +41,7 @@ expression: diagnostics
end_location:
row: 11
column: 30
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 5
column: 20
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedTempFile
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 8
column: 24
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedTempFile
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 11
column: 30
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedTempFile
@@ -52,6 +55,7 @@ expression: diagnostics
end_location:
row: 15
column: 20
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 4
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: TryExceptPass
@@ -26,6 +27,7 @@ expression: diagnostics
end_location:
row: 9
column: 8
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 4
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: TryExceptPass
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 9
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: TryExceptPass
@@ -39,6 +41,7 @@ expression: diagnostics
end_location:
row: 14
column: 8
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 4
column: 12
fix: ~
fix:
edits: []
parent: ~
- kind:
name: TryExceptContinue
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 9
column: 12
fix: ~
fix:
edits: []
parent: ~
- kind:
name: TryExceptContinue
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 14
column: 12
fix: ~
fix:
edits: []
parent: ~
- kind:
name: TryExceptContinue
@@ -52,6 +55,7 @@ expression: diagnostics
end_location:
row: 19
column: 12
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 3
column: 12
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithoutTimeout
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 4
column: 46
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithoutTimeout
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 6
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithoutTimeout
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 7
column: 47
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithoutTimeout
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 9
column: 12
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithoutTimeout
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 10
column: 46
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithoutTimeout
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 12
column: 15
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithoutTimeout
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 13
column: 49
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithoutTimeout
@@ -117,7 +125,8 @@ expression: diagnostics
end_location:
row: 15
column: 14
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithoutTimeout
@@ -130,7 +139,8 @@ expression: diagnostics
end_location:
row: 16
column: 48
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithoutTimeout
@@ -143,7 +153,8 @@ expression: diagnostics
end_location:
row: 18
column: 16
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithoutTimeout
@@ -156,7 +167,8 @@ expression: diagnostics
end_location:
row: 19
column: 50
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithoutTimeout
@@ -169,7 +181,8 @@ expression: diagnostics
end_location:
row: 21
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithoutTimeout
@@ -182,6 +195,7 @@ expression: diagnostics
end_location:
row: 22
column: 47
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,6 +13,7 @@ expression: diagnostics
end_location:
row: 3
column: 14
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,6 +13,7 @@ expression: diagnostics
end_location:
row: 3
column: 23
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 7
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HashlibInsecureHashFunction
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 9
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HashlibInsecureHashFunction
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 11
column: 22
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HashlibInsecureHashFunction
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 13
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HashlibInsecureHashFunction
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 15
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HashlibInsecureHashFunction
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 17
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HashlibInsecureHashFunction
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 19
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HashlibInsecureHashFunction
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 21
column: 22
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HashlibInsecureHashFunction
@@ -117,7 +125,8 @@ expression: diagnostics
end_location:
row: 23
column: 11
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HashlibInsecureHashFunction
@@ -130,7 +139,8 @@ expression: diagnostics
end_location:
row: 25
column: 11
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HashlibInsecureHashFunction
@@ -143,7 +153,8 @@ expression: diagnostics
end_location:
row: 27
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HashlibInsecureHashFunction
@@ -156,7 +167,8 @@ expression: diagnostics
end_location:
row: 29
column: 12
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HashlibInsecureHashFunction
@@ -169,6 +181,7 @@ expression: diagnostics
end_location:
row: 32
column: 18
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 5
column: 58
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithNoCertValidation
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 7
column: 59
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithNoCertValidation
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 9
column: 58
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithNoCertValidation
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 11
column: 61
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithNoCertValidation
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 13
column: 60
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithNoCertValidation
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 15
column: 62
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithNoCertValidation
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 17
column: 59
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithNoCertValidation
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 20
column: 54
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithNoCertValidation
@@ -117,7 +125,8 @@ expression: diagnostics
end_location:
row: 22
column: 43
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithNoCertValidation
@@ -130,7 +139,8 @@ expression: diagnostics
end_location:
row: 24
column: 47
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithNoCertValidation
@@ -143,7 +153,8 @@ expression: diagnostics
end_location:
row: 26
column: 44
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithNoCertValidation
@@ -156,7 +167,8 @@ expression: diagnostics
end_location:
row: 28
column: 44
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithNoCertValidation
@@ -169,7 +181,8 @@ expression: diagnostics
end_location:
row: 30
column: 43
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithNoCertValidation
@@ -182,7 +195,8 @@ expression: diagnostics
end_location:
row: 32
column: 45
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithNoCertValidation
@@ -195,7 +209,8 @@ expression: diagnostics
end_location:
row: 34
column: 46
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithNoCertValidation
@@ -208,7 +223,8 @@ expression: diagnostics
end_location:
row: 36
column: 46
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithNoCertValidation
@@ -221,7 +237,8 @@ expression: diagnostics
end_location:
row: 38
column: 25
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RequestWithNoCertValidation
@@ -234,6 +251,7 @@ expression: diagnostics
end_location:
row: 40
column: 30
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 10
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UnsafeYAMLLoad
@@ -26,6 +27,7 @@ expression: diagnostics
end_location:
row: 24
column: 34
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 3
column: 33
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SnmpInsecureVersion
@@ -26,6 +27,7 @@ expression: diagnostics
end_location:
row: 4
column: 33
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 4
column: 22
fix: ~
fix:
edits: []
parent: ~
- kind:
name: SnmpWeakCryptography
@@ -26,6 +27,7 @@ expression: diagnostics
end_location:
row: 5
column: 26
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 2
column: 40
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 3
column: 35
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 4
column: 43
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 5
column: 44
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 6
column: 49
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 8
column: 52
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 9
column: 47
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 10
column: 54
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -117,7 +125,8 @@ expression: diagnostics
end_location:
row: 11
column: 55
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -130,7 +139,8 @@ expression: diagnostics
end_location:
row: 12
column: 48
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -143,7 +153,8 @@ expression: diagnostics
end_location:
row: 14
column: 50
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -156,7 +167,8 @@ expression: diagnostics
end_location:
row: 15
column: 50
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -169,7 +181,8 @@ expression: diagnostics
end_location:
row: 16
column: 57
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -182,7 +195,8 @@ expression: diagnostics
end_location:
row: 17
column: 51
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -195,7 +209,8 @@ expression: diagnostics
end_location:
row: 19
column: 49
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -208,7 +223,8 @@ expression: diagnostics
end_location:
row: 20
column: 49
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -221,7 +237,8 @@ expression: diagnostics
end_location:
row: 21
column: 53
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -234,7 +251,8 @@ expression: diagnostics
end_location:
row: 22
column: 43
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -247,7 +265,8 @@ expression: diagnostics
end_location:
row: 24
column: 41
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -260,7 +279,8 @@ expression: diagnostics
end_location:
row: 25
column: 36
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -273,7 +293,8 @@ expression: diagnostics
end_location:
row: 26
column: 44
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -286,7 +307,8 @@ expression: diagnostics
end_location:
row: 27
column: 45
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -299,7 +321,8 @@ expression: diagnostics
end_location:
row: 28
column: 50
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -312,7 +335,8 @@ expression: diagnostics
end_location:
row: 30
column: 53
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -325,7 +349,8 @@ expression: diagnostics
end_location:
row: 31
column: 48
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -338,7 +363,8 @@ expression: diagnostics
end_location:
row: 32
column: 55
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -351,7 +377,8 @@ expression: diagnostics
end_location:
row: 33
column: 56
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -364,7 +391,8 @@ expression: diagnostics
end_location:
row: 34
column: 48
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -377,7 +405,8 @@ expression: diagnostics
end_location:
row: 36
column: 50
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -390,7 +419,8 @@ expression: diagnostics
end_location:
row: 37
column: 50
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -403,7 +433,8 @@ expression: diagnostics
end_location:
row: 38
column: 57
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -416,7 +447,8 @@ expression: diagnostics
end_location:
row: 39
column: 51
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -429,7 +461,8 @@ expression: diagnostics
end_location:
row: 41
column: 49
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -442,7 +475,8 @@ expression: diagnostics
end_location:
row: 42
column: 49
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -455,7 +489,8 @@ expression: diagnostics
end_location:
row: 43
column: 53
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -468,7 +503,8 @@ expression: diagnostics
end_location:
row: 44
column: 43
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -481,7 +517,8 @@ expression: diagnostics
end_location:
row: 52
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -494,7 +531,8 @@ expression: diagnostics
end_location:
row: 59
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -507,7 +545,8 @@ expression: diagnostics
end_location:
row: 66
column: 19
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -520,7 +559,8 @@ expression: diagnostics
end_location:
row: 73
column: 7
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -533,7 +573,8 @@ expression: diagnostics
end_location:
row: 79
column: 28
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -546,7 +587,8 @@ expression: diagnostics
end_location:
row: 83
column: 67
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -559,7 +601,8 @@ expression: diagnostics
end_location:
row: 84
column: 65
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -572,7 +615,8 @@ expression: diagnostics
end_location:
row: 85
column: 73
fix: ~
fix:
edits: []
parent: ~
- kind:
name: HardcodedSQLExpression
@@ -585,6 +629,7 @@ expression: diagnostics
end_location:
row: 86
column: 71
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,6 +13,7 @@ expression: diagnostics
end_location:
row: 3
column: 25
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 9
column: 76
fix: ~
fix:
edits: []
parent: ~
- kind:
name: Jinja2AutoescapeFalse
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 10
column: 49
fix: ~
fix:
edits: []
parent: ~
- kind:
name: Jinja2AutoescapeFalse
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 13
column: 28
fix: ~
fix:
edits: []
parent: ~
- kind:
name: Jinja2AutoescapeFalse
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 15
column: 11
fix: ~
fix:
edits: []
parent: ~
- kind:
name: Jinja2AutoescapeFalse
@@ -65,6 +69,7 @@ expression: diagnostics
end_location:
row: 29
column: 57
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 25
column: 20
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BlindExcept
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 31
column: 16
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BlindExcept
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 42
column: 16
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BlindExcept
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 45
column: 24
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BlindExcept
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 54
column: 16
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BlindExcept
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 60
column: 16
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BlindExcept
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 62
column: 20
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BlindExcept
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 69
column: 16
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BlindExcept
@@ -117,7 +125,8 @@ expression: diagnostics
end_location:
row: 75
column: 16
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BlindExcept
@@ -130,6 +139,7 @@ expression: diagnostics
end_location:
row: 81
column: 16
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 4
column: 26
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BooleanPositionalArgInFunctionDefinition
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 5
column: 31
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BooleanPositionalArgInFunctionDefinition
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 10
column: 36
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BooleanPositionalArgInFunctionDefinition
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 11
column: 41
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BooleanPositionalArgInFunctionDefinition
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 14
column: 37
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BooleanPositionalArgInFunctionDefinition
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 15
column: 42
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BooleanPositionalArgInFunctionDefinition
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 18
column: 40
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BooleanPositionalArgInFunctionDefinition
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 19
column: 45
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BooleanPositionalArgInFunctionDefinition
@@ -117,6 +125,7 @@ expression: diagnostics
end_location:
row: 81
column: 29
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 12
column: 34
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BooleanDefaultValueInFunctionDefinition
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 13
column: 46
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BooleanDefaultValueInFunctionDefinition
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 14
column: 44
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BooleanDefaultValueInFunctionDefinition
@@ -52,6 +55,7 @@ expression: diagnostics
end_location:
row: 15
column: 49
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 42
column: 14
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BooleanPositionalValueInFunctionCall
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 57
column: 14
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BooleanPositionalValueInFunctionCall
@@ -39,6 +41,7 @@ expression: diagnostics
end_location:
row: 57
column: 21
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 15
column: 11
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UnaryPrefixIncrement
@@ -26,6 +27,7 @@ expression: diagnostics
end_location:
row: 20
column: 14
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,6 +13,7 @@ expression: diagnostics
end_location:
row: 9
column: 10
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 3
column: 29
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UnreliableCallableCheck
@@ -26,6 +27,7 @@ expression: diagnostics
end_location:
row: 5
column: 36
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 4
column: 24
fix: ~
fix:
edits: []
parent: ~
- kind:
name: StripWithMultiCharacters
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 7
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: StripWithMultiCharacters
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 10
column: 25
fix: ~
fix:
edits: []
parent: ~
- kind:
name: StripWithMultiCharacters
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 13
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: StripWithMultiCharacters
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 16
column: 25
fix: ~
fix:
edits: []
parent: ~
- kind:
name: StripWithMultiCharacters
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 19
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: StripWithMultiCharacters
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 22
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: StripWithMultiCharacters
@@ -104,6 +111,7 @@ expression: diagnostics
end_location:
row: 24
column: 35
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 60
column: 33
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MutableArgumentDefault
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 64
column: 31
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MutableArgumentDefault
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 68
column: 24
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MutableArgumentDefault
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 72
column: 44
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MutableArgumentDefault
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 76
column: 56
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MutableArgumentDefault
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 80
column: 44
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MutableArgumentDefault
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 85
column: 69
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MutableArgumentDefault
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 89
column: 72
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MutableArgumentDefault
@@ -117,7 +125,8 @@ expression: diagnostics
end_location:
row: 93
column: 68
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MutableArgumentDefault
@@ -130,7 +139,8 @@ expression: diagnostics
end_location:
row: 97
column: 34
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MutableArgumentDefault
@@ -143,7 +153,8 @@ expression: diagnostics
end_location:
row: 170
column: 48
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MutableArgumentDefault
@@ -156,7 +167,8 @@ expression: diagnostics
end_location:
row: 203
column: 28
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MutableArgumentDefault
@@ -169,7 +181,8 @@ expression: diagnostics
end_location:
row: 204
column: 36
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MutableArgumentDefault
@@ -182,6 +195,7 @@ expression: diagnostics
end_location:
row: 205
column: 66
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 6
column: 5
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UnusedLoopControlVariable
@@ -27,13 +28,14 @@ expression: diagnostics
row: 18
column: 13
fix:
content: _k
location:
row: 18
column: 12
end_location:
row: 18
column: 13
edits:
- content: _k
location:
row: 18
column: 12
end_location:
row: 18
column: 13
parent: ~
- kind:
name: UnusedLoopControlVariable
@@ -46,7 +48,8 @@ expression: diagnostics
end_location:
row: 30
column: 5
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UnusedLoopControlVariable
@@ -60,13 +63,14 @@ expression: diagnostics
row: 30
column: 13
fix:
content: _k
location:
row: 30
column: 12
end_location:
row: 30
column: 13
edits:
- content: _k
location:
row: 30
column: 12
end_location:
row: 30
column: 13
parent: ~
- kind:
name: UnusedLoopControlVariable
@@ -79,7 +83,8 @@ expression: diagnostics
end_location:
row: 34
column: 12
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UnusedLoopControlVariable
@@ -92,7 +97,8 @@ expression: diagnostics
end_location:
row: 38
column: 12
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UnusedLoopControlVariable
@@ -105,7 +111,8 @@ expression: diagnostics
end_location:
row: 42
column: 12
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UnusedLoopControlVariable
@@ -118,7 +125,8 @@ expression: diagnostics
end_location:
row: 46
column: 12
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UnusedLoopControlVariable
@@ -132,13 +140,14 @@ expression: diagnostics
row: 52
column: 16
fix:
content: _bar
location:
row: 52
column: 13
end_location:
row: 52
column: 16
edits:
- content: _bar
location:
row: 52
column: 13
end_location:
row: 52
column: 16
parent: ~
- kind:
name: UnusedLoopControlVariable
@@ -151,7 +160,8 @@ expression: diagnostics
end_location:
row: 59
column: 16
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UnusedLoopControlVariable
@@ -165,13 +175,14 @@ expression: diagnostics
row: 68
column: 16
fix:
content: _bar
location:
row: 68
column: 13
end_location:
row: 68
column: 16
edits:
- content: _bar
location:
row: 68
column: 13
end_location:
row: 68
column: 16
parent: ~
- kind:
name: UnusedLoopControlVariable
@@ -185,13 +196,14 @@ expression: diagnostics
row: 77
column: 16
fix:
content: _bar
location:
row: 77
column: 13
end_location:
row: 77
column: 16
edits:
- content: _bar
location:
row: 77
column: 13
end_location:
row: 77
column: 16
parent: ~
- kind:
name: UnusedLoopControlVariable
@@ -204,6 +216,7 @@ expression: diagnostics
end_location:
row: 87
column: 9
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 85
column: 68
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionCallInDefaultArgument
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 89
column: 71
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionCallInDefaultArgument
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 93
column: 67
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionCallInDefaultArgument
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 109
column: 49
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionCallInDefaultArgument
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 113
column: 28
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionCallInDefaultArgument
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 113
column: 51
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionCallInDefaultArgument
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 117
column: 44
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionCallInDefaultArgument
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 155
column: 47
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionCallInDefaultArgument
@@ -117,7 +125,8 @@ expression: diagnostics
end_location:
row: 160
column: 37
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionCallInDefaultArgument
@@ -130,7 +139,8 @@ expression: diagnostics
end_location:
row: 164
column: 57
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionCallInDefaultArgument
@@ -143,7 +153,8 @@ expression: diagnostics
end_location:
row: 170
column: 28
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionCallInDefaultArgument
@@ -156,7 +167,8 @@ expression: diagnostics
end_location:
row: 170
column: 47
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionCallInDefaultArgument
@@ -169,7 +181,8 @@ expression: diagnostics
end_location:
row: 176
column: 62
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionCallInDefaultArgument
@@ -182,7 +195,8 @@ expression: diagnostics
end_location:
row: 181
column: 59
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionCallInDefaultArgument
@@ -195,6 +209,7 @@ expression: diagnostics
end_location:
row: 181
column: 53
fix: ~
fix:
edits: []
parent: ~

View File

@@ -14,13 +14,14 @@ expression: diagnostics
row: 19
column: 19
fix:
content: foo.bar
location:
row: 19
column: 0
end_location:
row: 19
column: 19
edits:
- content: foo.bar
location:
row: 19
column: 0
end_location:
row: 19
column: 19
parent: ~
- kind:
name: GetAttrWithConstant
@@ -34,13 +35,14 @@ expression: diagnostics
row: 20
column: 23
fix:
content: foo._123abc
location:
row: 20
column: 0
end_location:
row: 20
column: 23
edits:
- content: foo._123abc
location:
row: 20
column: 0
end_location:
row: 20
column: 23
parent: ~
- kind:
name: GetAttrWithConstant
@@ -54,13 +56,14 @@ expression: diagnostics
row: 21
column: 26
fix:
content: foo.__123abc__
location:
row: 21
column: 0
end_location:
row: 21
column: 26
edits:
- content: foo.__123abc__
location:
row: 21
column: 0
end_location:
row: 21
column: 26
parent: ~
- kind:
name: GetAttrWithConstant
@@ -74,13 +77,14 @@ expression: diagnostics
row: 22
column: 22
fix:
content: foo.abc123
location:
row: 22
column: 0
end_location:
row: 22
column: 22
edits:
- content: foo.abc123
location:
row: 22
column: 0
end_location:
row: 22
column: 22
parent: ~
- kind:
name: GetAttrWithConstant
@@ -94,13 +98,14 @@ expression: diagnostics
row: 23
column: 23
fix:
content: foo.abc123
location:
row: 23
column: 0
end_location:
row: 23
column: 23
edits:
- content: foo.abc123
location:
row: 23
column: 0
end_location:
row: 23
column: 23
parent: ~
- kind:
name: GetAttrWithConstant
@@ -114,13 +119,14 @@ expression: diagnostics
row: 24
column: 31
fix:
content: x.bar
location:
row: 24
column: 14
end_location:
row: 24
column: 31
edits:
- content: x.bar
location:
row: 24
column: 14
end_location:
row: 24
column: 31
parent: ~
- kind:
name: GetAttrWithConstant
@@ -134,12 +140,13 @@ expression: diagnostics
row: 25
column: 20
fix:
content: x.bar
location:
row: 25
column: 3
end_location:
row: 25
column: 20
edits:
- content: x.bar
location:
row: 25
column: 3
end_location:
row: 25
column: 20
parent: ~

View File

@@ -14,13 +14,14 @@ expression: diagnostics
row: 40
column: 25
fix:
content: foo.bar = None
location:
row: 40
column: 0
end_location:
row: 40
column: 25
edits:
- content: foo.bar = None
location:
row: 40
column: 0
end_location:
row: 40
column: 25
parent: ~
- kind:
name: SetAttrWithConstant
@@ -34,13 +35,14 @@ expression: diagnostics
row: 41
column: 29
fix:
content: foo._123abc = None
location:
row: 41
column: 0
end_location:
row: 41
column: 29
edits:
- content: foo._123abc = None
location:
row: 41
column: 0
end_location:
row: 41
column: 29
parent: ~
- kind:
name: SetAttrWithConstant
@@ -54,13 +56,14 @@ expression: diagnostics
row: 42
column: 32
fix:
content: foo.__123abc__ = None
location:
row: 42
column: 0
end_location:
row: 42
column: 32
edits:
- content: foo.__123abc__ = None
location:
row: 42
column: 0
end_location:
row: 42
column: 32
parent: ~
- kind:
name: SetAttrWithConstant
@@ -74,13 +77,14 @@ expression: diagnostics
row: 43
column: 28
fix:
content: foo.abc123 = None
location:
row: 43
column: 0
end_location:
row: 43
column: 28
edits:
- content: foo.abc123 = None
location:
row: 43
column: 0
end_location:
row: 43
column: 28
parent: ~
- kind:
name: SetAttrWithConstant
@@ -94,13 +98,14 @@ expression: diagnostics
row: 44
column: 29
fix:
content: foo.abc123 = None
location:
row: 44
column: 0
end_location:
row: 44
column: 29
edits:
- content: foo.abc123 = None
location:
row: 44
column: 0
end_location:
row: 44
column: 29
parent: ~
- kind:
name: SetAttrWithConstant
@@ -114,12 +119,13 @@ expression: diagnostics
row: 45
column: 30
fix:
content: foo.bar.baz = None
location:
row: 45
column: 0
end_location:
row: 45
column: 30
edits:
- content: foo.bar.baz = None
location:
row: 45
column: 0
end_location:
row: 45
column: 30
parent: ~

View File

@@ -14,13 +14,14 @@ expression: diagnostics
row: 8
column: 12
fix:
content: raise AssertionError()
location:
row: 8
column: 0
end_location:
row: 8
column: 12
edits:
- content: raise AssertionError()
location:
row: 8
column: 0
end_location:
row: 8
column: 12
parent: ~
- kind:
name: AssertFalse
@@ -34,12 +35,13 @@ expression: diagnostics
row: 10
column: 12
fix:
content: "raise AssertionError(\"message\")"
location:
row: 10
column: 0
end_location:
row: 10
column: 23
edits:
- content: "raise AssertionError(\"message\")"
location:
row: 10
column: 0
end_location:
row: 10
column: 23
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 5
column: 14
fix: ~
fix:
edits: []
parent: ~
- kind:
name: JumpStatementInFinally
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 13
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: JumpStatementInFinally
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 21
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: JumpStatementInFinally
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 31
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: JumpStatementInFinally
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 44
column: 26
fix: ~
fix:
edits: []
parent: ~
- kind:
name: JumpStatementInFinally
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 66
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: JumpStatementInFinally
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 78
column: 20
fix: ~
fix:
edits: []
parent: ~
- kind:
name: JumpStatementInFinally
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 94
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: JumpStatementInFinally
@@ -117,7 +125,8 @@ expression: diagnostics
end_location:
row: 101
column: 16
fix: ~
fix:
edits: []
parent: ~
- kind:
name: JumpStatementInFinally
@@ -130,7 +139,8 @@ expression: diagnostics
end_location:
row: 107
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: JumpStatementInFinally
@@ -143,6 +153,7 @@ expression: diagnostics
end_location:
row: 118
column: 21
fix: ~
fix:
edits: []
parent: ~

View File

@@ -14,12 +14,13 @@ expression: diagnostics
row: 3
column: 20
fix:
content: ValueError
location:
row: 3
column: 7
end_location:
row: 3
column: 20
edits:
- content: ValueError
location:
row: 3
column: 7
end_location:
row: 3
column: 20
parent: ~

View File

@@ -14,13 +14,14 @@ expression: diagnostics
row: 17
column: 25
fix:
content: OSError
location:
row: 17
column: 7
end_location:
row: 17
column: 25
edits:
- content: OSError
location:
row: 17
column: 7
end_location:
row: 17
column: 25
parent: ~
- kind:
name: DuplicateHandlerException
@@ -34,13 +35,14 @@ expression: diagnostics
row: 28
column: 25
fix:
content: MyError
location:
row: 28
column: 7
end_location:
row: 28
column: 25
edits:
- content: MyError
location:
row: 28
column: 7
end_location:
row: 28
column: 25
parent: ~
- kind:
name: DuplicateHandlerException
@@ -54,12 +56,13 @@ expression: diagnostics
row: 49
column: 27
fix:
content: re.error
location:
row: 49
column: 7
end_location:
row: 49
column: 27
edits:
- content: re.error
location:
row: 49
column: 7
end_location:
row: 49
column: 27
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 3
column: 6
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessComparison
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 7
column: 11
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessComparison
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 17
column: 15
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessComparison
@@ -52,6 +55,7 @@ expression: diagnostics
end_location:
row: 24
column: 10
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 6
column: 11
fix: ~
fix:
edits: []
parent: ~
- kind:
name: CannotRaiseLiteral
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 7
column: 7
fix: ~
fix:
edits: []
parent: ~
- kind:
name: CannotRaiseLiteral
@@ -39,6 +41,7 @@ expression: diagnostics
end_location:
row: 8
column: 14
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,6 +13,7 @@ expression: diagnostics
end_location:
row: 23
column: 42
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 11
column: 6
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 12
column: 5
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 13
column: 7
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 14
column: 10
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 15
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 16
column: 9
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 17
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 18
column: 10
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -117,7 +125,8 @@ expression: diagnostics
end_location:
row: 19
column: 10
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -130,7 +139,8 @@ expression: diagnostics
end_location:
row: 20
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -143,7 +153,8 @@ expression: diagnostics
end_location:
row: 24
column: 7
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -156,7 +167,8 @@ expression: diagnostics
end_location:
row: 27
column: 5
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -169,7 +181,8 @@ expression: diagnostics
end_location:
row: 39
column: 6
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -182,7 +195,8 @@ expression: diagnostics
end_location:
row: 40
column: 5
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -195,7 +209,8 @@ expression: diagnostics
end_location:
row: 41
column: 7
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -208,7 +223,8 @@ expression: diagnostics
end_location:
row: 42
column: 10
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -221,7 +237,8 @@ expression: diagnostics
end_location:
row: 43
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -234,7 +251,8 @@ expression: diagnostics
end_location:
row: 44
column: 9
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -247,7 +265,8 @@ expression: diagnostics
end_location:
row: 45
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -260,7 +279,8 @@ expression: diagnostics
end_location:
row: 46
column: 10
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -273,7 +293,8 @@ expression: diagnostics
end_location:
row: 47
column: 10
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -286,7 +307,8 @@ expression: diagnostics
end_location:
row: 48
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -299,7 +321,8 @@ expression: diagnostics
end_location:
row: 52
column: 7
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -312,7 +335,8 @@ expression: diagnostics
end_location:
row: 55
column: 5
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -325,7 +349,8 @@ expression: diagnostics
end_location:
row: 63
column: 11
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -338,7 +363,8 @@ expression: diagnostics
end_location:
row: 64
column: 22
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessExpression
@@ -351,6 +377,7 @@ expression: diagnostics
end_location:
row: 65
column: 17
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 78
column: 20
fix: ~
fix:
edits: []
parent: ~
- kind:
name: CachedInstanceMethod
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 82
column: 10
fix: ~
fix:
edits: []
parent: ~
- kind:
name: CachedInstanceMethod
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 86
column: 22
fix: ~
fix:
edits: []
parent: ~
- kind:
name: CachedInstanceMethod
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 90
column: 12
fix: ~
fix:
edits: []
parent: ~
- kind:
name: CachedInstanceMethod
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 94
column: 24
fix: ~
fix:
edits: []
parent: ~
- kind:
name: CachedInstanceMethod
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 98
column: 14
fix: ~
fix:
edits: []
parent: ~
- kind:
name: CachedInstanceMethod
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 102
column: 26
fix: ~
fix:
edits: []
parent: ~
- kind:
name: CachedInstanceMethod
@@ -104,6 +111,7 @@ expression: diagnostics
end_location:
row: 106
column: 16
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 8
column: 9
fix: ~
fix:
edits: []
parent: ~
- kind:
name: LoopVariableOverridesIterator
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 21
column: 15
fix: ~
fix:
edits: []
parent: ~
- kind:
name: LoopVariableOverridesIterator
@@ -39,6 +41,7 @@ expression: diagnostics
end_location:
row: 36
column: 8
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 4
column: 3
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FStringDocstring
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 14
column: 28
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FStringDocstring
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 22
column: 28
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FStringDocstring
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 30
column: 28
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FStringDocstring
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 38
column: 28
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FStringDocstring
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 46
column: 24
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FStringDocstring
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 54
column: 24
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FStringDocstring
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 62
column: 24
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FStringDocstring
@@ -117,7 +125,8 @@ expression: diagnostics
end_location:
row: 70
column: 24
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FStringDocstring
@@ -130,6 +139,7 @@ expression: diagnostics
end_location:
row: 74
column: 48
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 9
column: 26
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UselessContextlibSuppress
@@ -26,6 +27,7 @@ expression: diagnostics
end_location:
row: 12
column: 15
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 12
column: 30
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 13
column: 30
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 16
column: 16
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 28
column: 19
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 29
column: 19
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 30
column: 19
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 31
column: 22
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 40
column: 34
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -117,7 +125,8 @@ expression: diagnostics
end_location:
row: 42
column: 14
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -130,7 +139,8 @@ expression: diagnostics
end_location:
row: 50
column: 30
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -143,7 +153,8 @@ expression: diagnostics
end_location:
row: 51
column: 31
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -156,7 +167,8 @@ expression: diagnostics
end_location:
row: 52
column: 30
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -169,7 +181,8 @@ expression: diagnostics
end_location:
row: 53
column: 30
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -182,7 +195,8 @@ expression: diagnostics
end_location:
row: 61
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -195,7 +209,8 @@ expression: diagnostics
end_location:
row: 61
column: 21
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -208,7 +223,8 @@ expression: diagnostics
end_location:
row: 68
column: 10
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -221,7 +237,8 @@ expression: diagnostics
end_location:
row: 82
column: 16
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -234,7 +251,8 @@ expression: diagnostics
end_location:
row: 117
column: 24
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -247,7 +265,8 @@ expression: diagnostics
end_location:
row: 118
column: 27
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -260,7 +279,8 @@ expression: diagnostics
end_location:
row: 119
column: 37
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -273,7 +293,8 @@ expression: diagnostics
end_location:
row: 120
column: 38
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -286,7 +307,8 @@ expression: diagnostics
end_location:
row: 121
column: 37
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -299,7 +321,8 @@ expression: diagnostics
end_location:
row: 171
column: 32
fix: ~
fix:
edits: []
parent: ~
- kind:
name: FunctionUsesLoopVariable
@@ -312,6 +335,7 @@ expression: diagnostics
end_location:
row: 174
column: 29
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 20
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AbstractBaseClassWithoutAbstractMethod
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 73
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AbstractBaseClassWithoutAbstractMethod
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 84
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AbstractBaseClassWithoutAbstractMethod
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 89
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AbstractBaseClassWithoutAbstractMethod
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 94
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: AbstractBaseClassWithoutAbstractMethod
@@ -78,6 +83,7 @@ expression: diagnostics
end_location:
row: 142
column: 7
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 19
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: DuplicateTryBlockException
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 28
column: 25
fix: ~
fix:
edits: []
parent: ~
- kind:
name: DuplicateTryBlockException
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 35
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: DuplicateTryBlockException
@@ -52,6 +55,7 @@ expression: diagnostics
end_location:
row: 37
column: 26
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 16
column: 30
fix: ~
fix:
edits: []
parent: ~
- kind:
name: StarArgUnpackingAfterKeywordArg
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 17
column: 23
fix: ~
fix:
edits: []
parent: ~
- kind:
name: StarArgUnpackingAfterKeywordArg
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 18
column: 34
fix: ~
fix:
edits: []
parent: ~
- kind:
name: StarArgUnpackingAfterKeywordArg
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 19
column: 40
fix: ~
fix:
edits: []
parent: ~
- kind:
name: StarArgUnpackingAfterKeywordArg
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 20
column: 23
fix: ~
fix:
edits: []
parent: ~
- kind:
name: StarArgUnpackingAfterKeywordArg
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 20
column: 33
fix: ~
fix:
edits: []
parent: ~
- kind:
name: StarArgUnpackingAfterKeywordArg
@@ -91,6 +97,7 @@ expression: diagnostics
end_location:
row: 21
column: 33
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 14
column: 11
fix: ~
fix:
edits: []
parent: ~
- kind:
name: EmptyMethodWithoutAbstractDecorator
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 17
column: 12
fix: ~
fix:
edits: []
parent: ~
- kind:
name: EmptyMethodWithoutAbstractDecorator
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 21
column: 11
fix: ~
fix:
edits: []
parent: ~
- kind:
name: EmptyMethodWithoutAbstractDecorator
@@ -52,6 +55,7 @@ expression: diagnostics
end_location:
row: 28
column: 12
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 8
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: NoExplicitStacklevel
@@ -26,6 +27,7 @@ expression: diagnostics
end_location:
row: 9
column: 13
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 9
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: ExceptWithEmptyTuple
@@ -26,6 +27,7 @@ expression: diagnostics
end_location:
row: 14
column: 8
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 12
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: ExceptWithNonExceptionClasses
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 17
column: 9
fix: ~
fix:
edits: []
parent: ~
- kind:
name: ExceptWithNonExceptionClasses
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 22
column: 57
fix: ~
fix:
edits: []
parent: ~
- kind:
name: ExceptWithNonExceptionClasses
@@ -52,6 +55,7 @@ expression: diagnostics
end_location:
row: 27
column: 57
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 27
column: 49
fix: ~
fix:
edits: []
parent: ~
- kind:
name: ReuseOfGroupbyGenerator
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 29
column: 45
fix: ~
fix:
edits: []
parent: ~
- kind:
name: ReuseOfGroupbyGenerator
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 33
column: 43
fix: ~
fix:
edits: []
parent: ~
- kind:
name: ReuseOfGroupbyGenerator
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 40
column: 49
fix: ~
fix:
edits: []
parent: ~
- kind:
name: ReuseOfGroupbyGenerator
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 46
column: 41
fix: ~
fix:
edits: []
parent: ~
- kind:
name: ReuseOfGroupbyGenerator
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 56
column: 29
fix: ~
fix:
edits: []
parent: ~
- kind:
name: ReuseOfGroupbyGenerator
@@ -91,6 +97,7 @@ expression: diagnostics
end_location:
row: 79
column: 49
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 9
column: 11
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UnintentionalTypeAnnotation
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 10
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UnintentionalTypeAnnotation
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 12
column: 16
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UnintentionalTypeAnnotation
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 13
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UnintentionalTypeAnnotation
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 16
column: 14
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UnintentionalTypeAnnotation
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 17
column: 22
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UnintentionalTypeAnnotation
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 18
column: 11
fix: ~
fix:
edits: []
parent: ~
- kind:
name: UnintentionalTypeAnnotation
@@ -104,6 +111,7 @@ expression: diagnostics
end_location:
row: 19
column: 19
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 10
column: 23
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RaiseWithoutFromInsideExcept
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 11
column: 21
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RaiseWithoutFromInsideExcept
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 16
column: 39
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RaiseWithoutFromInsideExcept
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 62
column: 35
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RaiseWithoutFromInsideExcept
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 64
column: 35
fix: ~
fix:
edits: []
parent: ~
- kind:
name: RaiseWithoutFromInsideExcept
@@ -78,6 +83,7 @@ expression: diagnostics
end_location:
row: 72
column: 39
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 1
column: 5
fix: ~
fix:
edits: []
parent: ~
- kind:
name: ZipWithoutExplicitStrict
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 2
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: ZipWithoutExplicitStrict
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 3
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: ZipWithoutExplicitStrict
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 4
column: 24
fix: ~
fix:
edits: []
parent: ~
- kind:
name: ZipWithoutExplicitStrict
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 4
column: 23
fix: ~
fix:
edits: []
parent: ~
- kind:
name: ZipWithoutExplicitStrict
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 5
column: 12
fix: ~
fix:
edits: []
parent: ~
- kind:
name: ZipWithoutExplicitStrict
@@ -91,6 +97,7 @@ expression: diagnostics
end_location:
row: 6
column: 26
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,6 +13,7 @@ expression: diagnostics
end_location:
row: 19
column: 63
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 1
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 2
column: 29
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 3
column: 32
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 5
column: 5
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 6
column: 9
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 7
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 8
column: 5
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 8
column: 14
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -117,7 +125,8 @@ expression: diagnostics
end_location:
row: 9
column: 3
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -130,7 +139,8 @@ expression: diagnostics
end_location:
row: 9
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -143,7 +153,8 @@ expression: diagnostics
end_location:
row: 11
column: 2
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -156,7 +167,8 @@ expression: diagnostics
end_location:
row: 14
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -169,7 +181,8 @@ expression: diagnostics
end_location:
row: 17
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -182,7 +195,8 @@ expression: diagnostics
end_location:
row: 22
column: 7
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -195,7 +209,8 @@ expression: diagnostics
end_location:
row: 24
column: 14
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -208,7 +223,8 @@ expression: diagnostics
end_location:
row: 24
column: 26
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -221,7 +237,8 @@ expression: diagnostics
end_location:
row: 27
column: 24
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -234,7 +251,8 @@ expression: diagnostics
end_location:
row: 27
column: 47
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -247,7 +265,8 @@ expression: diagnostics
end_location:
row: 27
column: 52
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -260,6 +279,7 @@ expression: diagnostics
end_location:
row: 30
column: 10
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 1
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 2
column: 29
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 5
column: 5
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 6
column: 9
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 7
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 8
column: 5
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 8
column: 14
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 9
column: 3
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -117,7 +125,8 @@ expression: diagnostics
end_location:
row: 9
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -130,7 +139,8 @@ expression: diagnostics
end_location:
row: 14
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -143,7 +153,8 @@ expression: diagnostics
end_location:
row: 17
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -156,7 +167,8 @@ expression: diagnostics
end_location:
row: 22
column: 7
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -169,7 +181,8 @@ expression: diagnostics
end_location:
row: 24
column: 14
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -182,7 +195,8 @@ expression: diagnostics
end_location:
row: 24
column: 26
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -195,7 +209,8 @@ expression: diagnostics
end_location:
row: 27
column: 24
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -208,7 +223,8 @@ expression: diagnostics
end_location:
row: 27
column: 47
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -221,7 +237,8 @@ expression: diagnostics
end_location:
row: 27
column: 52
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinVariableShadowing
@@ -234,6 +251,7 @@ expression: diagnostics
end_location:
row: 30
column: 10
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 1
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinArgumentShadowing
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 1
column: 22
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinArgumentShadowing
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 1
column: 32
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinArgumentShadowing
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 1
column: 43
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinArgumentShadowing
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 1
column: 54
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinArgumentShadowing
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 5
column: 21
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinArgumentShadowing
@@ -91,7 +97,8 @@ expression: diagnostics
end_location:
row: 8
column: 18
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinArgumentShadowing
@@ -104,7 +111,8 @@ expression: diagnostics
end_location:
row: 8
column: 23
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinArgumentShadowing
@@ -117,6 +125,7 @@ expression: diagnostics
end_location:
row: 11
column: 20
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 1
column: 13
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinArgumentShadowing
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 1
column: 22
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinArgumentShadowing
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 1
column: 32
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinArgumentShadowing
@@ -52,7 +55,8 @@ expression: diagnostics
end_location:
row: 1
column: 43
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinArgumentShadowing
@@ -65,7 +69,8 @@ expression: diagnostics
end_location:
row: 1
column: 54
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinArgumentShadowing
@@ -78,7 +83,8 @@ expression: diagnostics
end_location:
row: 5
column: 21
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinArgumentShadowing
@@ -91,6 +97,7 @@ expression: diagnostics
end_location:
row: 11
column: 20
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 2
column: 15
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinAttributeShadowing
@@ -26,7 +27,8 @@ expression: diagnostics
end_location:
row: 3
column: 6
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinAttributeShadowing
@@ -39,7 +41,8 @@ expression: diagnostics
end_location:
row: 4
column: 7
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinAttributeShadowing
@@ -52,6 +55,7 @@ expression: diagnostics
end_location:
row: 12
column: 12
fix: ~
fix:
edits: []
parent: ~

View File

@@ -13,7 +13,8 @@ expression: diagnostics
end_location:
row: 2
column: 15
fix: ~
fix:
edits: []
parent: ~
- kind:
name: BuiltinAttributeShadowing
@@ -26,6 +27,7 @@ expression: diagnostics
end_location:
row: 12
column: 12
fix: ~
fix:
edits: []
parent: ~

View File

@@ -14,13 +14,14 @@ expression: diagnostics
row: 4
column: 17
fix:
content: "'test',"
location:
row: 4
column: 11
end_location:
row: 4
column: 17
edits:
- content: "'test',"
location:
row: 4
column: 11
end_location:
row: 4
column: 17
parent: ~
- kind:
name: MissingTrailingComma
@@ -34,13 +35,14 @@ expression: diagnostics
row: 10
column: 5
fix:
content: "3,"
location:
row: 10
column: 4
end_location:
row: 10
column: 5
edits:
- content: "3,"
location:
row: 10
column: 4
end_location:
row: 10
column: 5
parent: ~
- kind:
name: MissingTrailingComma
@@ -54,13 +56,14 @@ expression: diagnostics
row: 16
column: 5
fix:
content: "3,"
location:
row: 16
column: 4
end_location:
row: 16
column: 5
edits:
- content: "3,"
location:
row: 16
column: 4
end_location:
row: 16
column: 5
parent: ~
- kind:
name: MissingTrailingComma
@@ -74,13 +77,14 @@ expression: diagnostics
row: 23
column: 5
fix:
content: "3,"
location:
row: 23
column: 4
end_location:
row: 23
column: 5
edits:
- content: "3,"
location:
row: 23
column: 4
end_location:
row: 23
column: 5
parent: ~
- kind:
name: TrailingCommaOnBareTuple
@@ -93,7 +97,8 @@ expression: diagnostics
end_location:
row: 36
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: TrailingCommaOnBareTuple
@@ -106,7 +111,8 @@ expression: diagnostics
end_location:
row: 38
column: 19
fix: ~
fix:
edits: []
parent: ~
- kind:
name: TrailingCommaOnBareTuple
@@ -119,7 +125,8 @@ expression: diagnostics
end_location:
row: 45
column: 8
fix: ~
fix:
edits: []
parent: ~
- kind:
name: TrailingCommaOnBareTuple
@@ -132,7 +139,8 @@ expression: diagnostics
end_location:
row: 49
column: 10
fix: ~
fix:
edits: []
parent: ~
- kind:
name: TrailingCommaOnBareTuple
@@ -145,7 +153,8 @@ expression: diagnostics
end_location:
row: 56
column: 32
fix: ~
fix:
edits: []
parent: ~
- kind:
name: TrailingCommaOnBareTuple
@@ -158,7 +167,8 @@ expression: diagnostics
end_location:
row: 58
column: 26
fix: ~
fix:
edits: []
parent: ~
- kind:
name: TrailingCommaOnBareTuple
@@ -171,7 +181,8 @@ expression: diagnostics
end_location:
row: 61
column: 17
fix: ~
fix:
edits: []
parent: ~
- kind:
name: MissingTrailingComma
@@ -185,13 +196,14 @@ expression: diagnostics
row: 70
column: 7
fix:
content: "bar,"
location:
row: 70
column: 4
end_location:
row: 70
column: 7
edits:
- content: "bar,"
location:
row: 70
column: 4
end_location:
row: 70
column: 7
parent: ~
- kind:
name: MissingTrailingComma
@@ -205,13 +217,14 @@ expression: diagnostics
row: 78
column: 7
fix:
content: "bar,"
location:
row: 78
column: 4
end_location:
row: 78
column: 7
edits:
- content: "bar,"
location:
row: 78
column: 4
end_location:
row: 78
column: 7
parent: ~
- kind:
name: MissingTrailingComma
@@ -225,13 +238,14 @@ expression: diagnostics
row: 86
column: 7
fix:
content: "bar,"
location:
row: 86
column: 4
end_location:
row: 86
column: 7
edits:
- content: "bar,"
location:
row: 86
column: 4
end_location:
row: 86
column: 7
parent: ~
- kind:
name: MissingTrailingComma
@@ -245,13 +259,14 @@ expression: diagnostics
row: 152
column: 5
fix:
content: "y,"
location:
row: 152
column: 4
end_location:
row: 152
column: 5
edits:
- content: "y,"
location:
row: 152
column: 4
end_location:
row: 152
column: 5
parent: ~
- kind:
name: MissingTrailingComma
@@ -265,13 +280,14 @@ expression: diagnostics
row: 158
column: 10
fix:
content: "Anyway,"
location:
row: 158
column: 4
end_location:
row: 158
column: 10
edits:
- content: "Anyway,"
location:
row: 158
column: 4
end_location:
row: 158
column: 10
parent: ~
- kind:
name: MissingTrailingComma
@@ -285,13 +301,14 @@ expression: diagnostics
row: 293
column: 14
fix:
content: "123,"
location:
row: 293
column: 11
end_location:
row: 293
column: 14
edits:
- content: "123,"
location:
row: 293
column: 11
end_location:
row: 293
column: 14
parent: ~
- kind:
name: MissingTrailingComma
@@ -305,13 +322,14 @@ expression: diagnostics
row: 304
column: 13
fix:
content: "2,"
location:
row: 304
column: 12
end_location:
row: 304
column: 13
edits:
- content: "2,"
location:
row: 304
column: 12
end_location:
row: 304
column: 13
parent: ~
- kind:
name: MissingTrailingComma
@@ -325,13 +343,14 @@ expression: diagnostics
row: 310
column: 13
fix:
content: "3,"
location:
row: 310
column: 12
end_location:
row: 310
column: 13
edits:
- content: "3,"
location:
row: 310
column: 12
end_location:
row: 310
column: 13
parent: ~
- kind:
name: MissingTrailingComma
@@ -345,13 +364,14 @@ expression: diagnostics
row: 316
column: 9
fix:
content: "3,"
location:
row: 316
column: 8
end_location:
row: 316
column: 9
edits:
- content: "3,"
location:
row: 316
column: 8
end_location:
row: 316
column: 9
parent: ~
- kind:
name: MissingTrailingComma
@@ -365,13 +385,14 @@ expression: diagnostics
row: 322
column: 14
fix:
content: "123,"
location:
row: 322
column: 11
end_location:
row: 322
column: 14
edits:
- content: "123,"
location:
row: 322
column: 11
end_location:
row: 322
column: 14
parent: ~
- kind:
name: MissingTrailingComma
@@ -385,13 +406,14 @@ expression: diagnostics
row: 368
column: 14
fix:
content: "\"not good\","
location:
row: 368
column: 4
end_location:
row: 368
column: 14
edits:
- content: "\"not good\","
location:
row: 368
column: 4
end_location:
row: 368
column: 14
parent: ~
- kind:
name: MissingTrailingComma
@@ -405,13 +427,14 @@ expression: diagnostics
row: 375
column: 14
fix:
content: "\"not good\","
location:
row: 375
column: 4
end_location:
row: 375
column: 14
edits:
- content: "\"not good\","
location:
row: 375
column: 4
end_location:
row: 375
column: 14
parent: ~
- kind:
name: MissingTrailingComma
@@ -425,13 +448,14 @@ expression: diagnostics
row: 404
column: 14
fix:
content: "\"not fine\","
location:
row: 404
column: 4
end_location:
row: 404
column: 14
edits:
- content: "\"not fine\","
location:
row: 404
column: 4
end_location:
row: 404
column: 14
parent: ~
- kind:
name: MissingTrailingComma
@@ -445,13 +469,14 @@ expression: diagnostics
row: 432
column: 14
fix:
content: "\"not fine\","
location:
row: 432
column: 4
end_location:
row: 432
column: 14
edits:
- content: "\"not fine\","
location:
row: 432
column: 4
end_location:
row: 432
column: 14
parent: ~
- kind:
name: ProhibitedTrailingComma
@@ -465,13 +490,14 @@ expression: diagnostics
row: 485
column: 21
fix:
content: ""
location:
row: 485
column: 20
end_location:
row: 485
column: 21
edits:
- content: ""
location:
row: 485
column: 20
end_location:
row: 485
column: 21
parent: ~
- kind:
name: ProhibitedTrailingComma
@@ -485,13 +511,14 @@ expression: diagnostics
row: 487
column: 13
fix:
content: ""
location:
row: 487
column: 12
end_location:
row: 487
column: 13
edits:
- content: ""
location:
row: 487
column: 12
end_location:
row: 487
column: 13
parent: ~
- kind:
name: ProhibitedTrailingComma
@@ -505,13 +532,14 @@ expression: diagnostics
row: 489
column: 18
fix:
content: ""
location:
row: 489
column: 17
end_location:
row: 489
column: 18
edits:
- content: ""
location:
row: 489
column: 17
end_location:
row: 489
column: 18
parent: ~
- kind:
name: ProhibitedTrailingComma
@@ -525,13 +553,14 @@ expression: diagnostics
row: 494
column: 6
fix:
content: ""
location:
row: 494
column: 5
end_location:
row: 494
column: 6
edits:
- content: ""
location:
row: 494
column: 5
end_location:
row: 494
column: 6
parent: ~
- kind:
name: ProhibitedTrailingComma
@@ -545,13 +574,14 @@ expression: diagnostics
row: 496
column: 21
fix:
content: ""
location:
row: 496
column: 20
end_location:
row: 496
column: 21
edits:
- content: ""
location:
row: 496
column: 20
end_location:
row: 496
column: 21
parent: ~
- kind:
name: ProhibitedTrailingComma
@@ -565,13 +595,14 @@ expression: diagnostics
row: 498
column: 13
fix:
content: ""
location:
row: 498
column: 12
end_location:
row: 498
column: 13
edits:
- content: ""
location:
row: 498
column: 12
end_location:
row: 498
column: 13
parent: ~
- kind:
name: ProhibitedTrailingComma
@@ -585,13 +616,14 @@ expression: diagnostics
row: 500
column: 18
fix:
content: ""
location:
row: 500
column: 17
end_location:
row: 500
column: 18
edits:
- content: ""
location:
row: 500
column: 17
end_location:
row: 500
column: 18
parent: ~
- kind:
name: ProhibitedTrailingComma
@@ -605,13 +637,14 @@ expression: diagnostics
row: 505
column: 6
fix:
content: ""
location:
row: 505
column: 5
end_location:
row: 505
column: 6
edits:
- content: ""
location:
row: 505
column: 5
end_location:
row: 505
column: 6
parent: ~
- kind:
name: ProhibitedTrailingComma
@@ -625,13 +658,14 @@ expression: diagnostics
row: 511
column: 10
fix:
content: ""
location:
row: 511
column: 9
end_location:
row: 511
column: 10
edits:
- content: ""
location:
row: 511
column: 9
end_location:
row: 511
column: 10
parent: ~
- kind:
name: ProhibitedTrailingComma
@@ -645,13 +679,14 @@ expression: diagnostics
row: 513
column: 9
fix:
content: ""
location:
row: 513
column: 8
end_location:
row: 513
column: 9
edits:
- content: ""
location:
row: 513
column: 8
end_location:
row: 513
column: 9
parent: ~
- kind:
name: MissingTrailingComma
@@ -665,13 +700,14 @@ expression: diagnostics
row: 519
column: 12
fix:
content: "kwargs,"
location:
row: 519
column: 6
end_location:
row: 519
column: 12
edits:
- content: "kwargs,"
location:
row: 519
column: 6
end_location:
row: 519
column: 12
parent: ~
- kind:
name: MissingTrailingComma
@@ -685,13 +721,14 @@ expression: diagnostics
row: 526
column: 9
fix:
content: "args,"
location:
row: 526
column: 5
end_location:
row: 526
column: 9
edits:
- content: "args,"
location:
row: 526
column: 5
end_location:
row: 526
column: 9
parent: ~
- kind:
name: MissingTrailingComma
@@ -705,13 +742,14 @@ expression: diagnostics
row: 534
column: 15
fix:
content: "extra_kwarg,"
location:
row: 534
column: 4
end_location:
row: 534
column: 15
edits:
- content: "extra_kwarg,"
location:
row: 534
column: 4
end_location:
row: 534
column: 15
parent: ~
- kind:
name: MissingTrailingComma
@@ -725,13 +763,14 @@ expression: diagnostics
row: 541
column: 12
fix:
content: "kwargs,"
location:
row: 541
column: 6
end_location:
row: 541
column: 12
edits:
- content: "kwargs,"
location:
row: 541
column: 6
end_location:
row: 541
column: 12
parent: ~
- kind:
name: MissingTrailingComma
@@ -745,13 +784,14 @@ expression: diagnostics
row: 547
column: 23
fix:
content: "not_called_kwargs,"
location:
row: 547
column: 6
end_location:
row: 547
column: 23
edits:
- content: "not_called_kwargs,"
location:
row: 547
column: 6
end_location:
row: 547
column: 23
parent: ~
- kind:
name: MissingTrailingComma
@@ -765,13 +805,14 @@ expression: diagnostics
row: 554
column: 14
fix:
content: "kwarg_only,"
location:
row: 554
column: 4
end_location:
row: 554
column: 14
edits:
- content: "kwarg_only,"
location:
row: 554
column: 4
end_location:
row: 554
column: 14
parent: ~
- kind:
name: MissingTrailingComma
@@ -785,13 +826,14 @@ expression: diagnostics
row: 561
column: 12
fix:
content: "kwargs,"
location:
row: 561
column: 6
end_location:
row: 561
column: 12
edits:
- content: "kwargs,"
location:
row: 561
column: 6
end_location:
row: 561
column: 12
parent: ~
- kind:
name: MissingTrailingComma
@@ -805,13 +847,14 @@ expression: diagnostics
row: 565
column: 12
fix:
content: "kwargs,"
location:
row: 565
column: 6
end_location:
row: 565
column: 12
edits:
- content: "kwargs,"
location:
row: 565
column: 6
end_location:
row: 565
column: 12
parent: ~
- kind:
name: MissingTrailingComma
@@ -825,13 +868,14 @@ expression: diagnostics
row: 573
column: 9
fix:
content: "args,"
location:
row: 573
column: 5
end_location:
row: 573
column: 9
edits:
- content: "args,"
location:
row: 573
column: 5
end_location:
row: 573
column: 9
parent: ~
- kind:
name: MissingTrailingComma
@@ -845,13 +889,14 @@ expression: diagnostics
row: 577
column: 9
fix:
content: "args,"
location:
row: 577
column: 5
end_location:
row: 577
column: 9
edits:
- content: "args,"
location:
row: 577
column: 5
end_location:
row: 577
column: 9
parent: ~
- kind:
name: MissingTrailingComma
@@ -865,13 +910,14 @@ expression: diagnostics
row: 583
column: 9
fix:
content: "args,"
location:
row: 583
column: 5
end_location:
row: 583
column: 9
edits:
- content: "args,"
location:
row: 583
column: 5
end_location:
row: 583
column: 9
parent: ~
- kind:
name: MissingTrailingComma
@@ -885,13 +931,14 @@ expression: diagnostics
row: 590
column: 12
fix:
content: "kwargs,"
location:
row: 590
column: 6
end_location:
row: 590
column: 12
edits:
- content: "kwargs,"
location:
row: 590
column: 6
end_location:
row: 590
column: 12
parent: ~
- kind:
name: MissingTrailingComma
@@ -905,13 +952,14 @@ expression: diagnostics
row: 598
column: 14
fix:
content: "kwarg_only,"
location:
row: 598
column: 4
end_location:
row: 598
column: 14
edits:
- content: "kwarg_only,"
location:
row: 598
column: 4
end_location:
row: 598
column: 14
parent: ~
- kind:
name: MissingTrailingComma
@@ -925,13 +973,14 @@ expression: diagnostics
row: 627
column: 19
fix:
content: "},"
location:
row: 627
column: 18
end_location:
row: 627
column: 19
edits:
- content: "},"
location:
row: 627
column: 18
end_location:
row: 627
column: 19
parent: ~
- kind:
name: MissingTrailingComma
@@ -945,12 +994,13 @@ expression: diagnostics
row: 632
column: 41
fix:
content: "),"
location:
row: 632
column: 40
end_location:
row: 632
column: 41
edits:
- content: "),"
location:
row: 632
column: 40
end_location:
row: 632
column: 41
parent: ~

View File

@@ -14,13 +14,14 @@ expression: diagnostics
row: 1
column: 29
fix:
content: "[x for x in range(3)]"
location:
row: 1
column: 4
end_location:
row: 1
column: 29
edits:
- content: "[x for x in range(3)]"
location:
row: 1
column: 4
end_location:
row: 1
column: 29
parent: ~
- kind:
name: UnnecessaryGeneratorList
@@ -34,12 +35,13 @@ expression: diagnostics
row: 4
column: 1
fix:
content: "[\n x for x in range(3)\n]"
location:
row: 2
column: 4
end_location:
row: 4
column: 1
edits:
- content: "[\n x for x in range(3)\n]"
location:
row: 2
column: 4
end_location:
row: 4
column: 1
parent: ~

View File

@@ -14,13 +14,14 @@ expression: diagnostics
row: 1
column: 28
fix:
content: "{x for x in range(3)}"
location:
row: 1
column: 4
end_location:
row: 1
column: 28
edits:
- content: "{x for x in range(3)}"
location:
row: 1
column: 4
end_location:
row: 1
column: 28
parent: ~
- kind:
name: UnnecessaryGeneratorSet
@@ -34,13 +35,14 @@ expression: diagnostics
row: 4
column: 1
fix:
content: "{\n x for x in range(3)\n}"
location:
row: 2
column: 4
end_location:
row: 4
column: 1
edits:
- content: "{\n x for x in range(3)\n}"
location:
row: 2
column: 4
end_location:
row: 4
column: 1
parent: ~
- kind:
name: UnnecessaryGeneratorSet
@@ -54,13 +56,14 @@ expression: diagnostics
row: 5
column: 48
fix:
content: " {a if a < 6 else 0 for a in range(3)} "
location:
row: 5
column: 7
end_location:
row: 5
column: 48
edits:
- content: " {a if a < 6 else 0 for a in range(3)} "
location:
row: 5
column: 7
end_location:
row: 5
column: 48
parent: ~
- kind:
name: UnnecessaryGeneratorSet
@@ -74,13 +77,14 @@ expression: diagnostics
row: 6
column: 57
fix:
content: "{a if a < 6 else 0 for a in range(3)}"
location:
row: 6
column: 16
end_location:
row: 6
column: 57
edits:
- content: "{a if a < 6 else 0 for a in range(3)}"
location:
row: 6
column: 16
end_location:
row: 6
column: 57
parent: ~
- kind:
name: UnnecessaryGeneratorSet
@@ -94,12 +98,13 @@ expression: diagnostics
row: 7
column: 39
fix:
content: " {a for a in range(3)} "
location:
row: 7
column: 15
end_location:
row: 7
column: 39
edits:
- content: " {a for a in range(3)} "
location:
row: 7
column: 15
end_location:
row: 7
column: 39
parent: ~

View File

@@ -14,13 +14,14 @@ expression: diagnostics
row: 1
column: 30
fix:
content: "{x: x for x in range(3)}"
location:
row: 1
column: 0
end_location:
row: 1
column: 30
edits:
- content: "{x: x for x in range(3)}"
location:
row: 1
column: 0
end_location:
row: 1
column: 30
parent: ~
- kind:
name: UnnecessaryGeneratorDict
@@ -34,13 +35,14 @@ expression: diagnostics
row: 4
column: 1
fix:
content: "{\n x: x for x in range(3)\n}"
location:
row: 2
column: 0
end_location:
row: 4
column: 1
edits:
- content: "{\n x: x for x in range(3)\n}"
location:
row: 2
column: 0
end_location:
row: 4
column: 1
parent: ~
- kind:
name: UnnecessaryGeneratorDict
@@ -54,13 +56,14 @@ expression: diagnostics
row: 6
column: 37
fix:
content: " {x: x for x in range(3)} "
location:
row: 6
column: 7
end_location:
row: 6
column: 37
edits:
- content: " {x: x for x in range(3)} "
location:
row: 6
column: 7
end_location:
row: 6
column: 37
parent: ~
- kind:
name: UnnecessaryGeneratorDict
@@ -74,12 +77,13 @@ expression: diagnostics
row: 7
column: 45
fix:
content: " {x: x for x in range(3)} "
location:
row: 7
column: 15
end_location:
row: 7
column: 45
edits:
- content: " {x: x for x in range(3)} "
location:
row: 7
column: 15
end_location:
row: 7
column: 45
parent: ~

View File

@@ -14,13 +14,14 @@ expression: diagnostics
row: 1
column: 30
fix:
content: "{x for x in range(3)}"
location:
row: 1
column: 4
end_location:
row: 1
column: 30
edits:
- content: "{x for x in range(3)}"
location:
row: 1
column: 4
end_location:
row: 1
column: 30
parent: ~
- kind:
name: UnnecessaryListComprehensionSet
@@ -34,12 +35,13 @@ expression: diagnostics
row: 4
column: 1
fix:
content: "{\n x for x in range(3)\n}"
location:
row: 2
column: 4
end_location:
row: 4
column: 1
edits:
- content: "{\n x for x in range(3)\n}"
location:
row: 2
column: 4
end_location:
row: 4
column: 1
parent: ~

View File

@@ -14,12 +14,13 @@ expression: diagnostics
row: 1
column: 32
fix:
content: "{i: i for i in range(3)}"
location:
row: 1
column: 0
end_location:
row: 1
column: 32
edits:
- content: "{i: i for i in range(3)}"
location:
row: 1
column: 0
end_location:
row: 1
column: 32
parent: ~

View File

@@ -14,13 +14,14 @@ expression: diagnostics
row: 1
column: 11
fix:
content: "{1, 2}"
location:
row: 1
column: 0
end_location:
row: 1
column: 11
edits:
- content: "{1, 2}"
location:
row: 1
column: 0
end_location:
row: 1
column: 11
parent: ~
- kind:
name: UnnecessaryLiteralSet
@@ -34,13 +35,14 @@ expression: diagnostics
row: 2
column: 11
fix:
content: "{1, 2}"
location:
row: 2
column: 0
end_location:
row: 2
column: 11
edits:
- content: "{1, 2}"
location:
row: 2
column: 0
end_location:
row: 2
column: 11
parent: ~
- kind:
name: UnnecessaryLiteralSet
@@ -54,13 +56,14 @@ expression: diagnostics
row: 3
column: 7
fix:
content: set()
location:
row: 3
column: 0
end_location:
row: 3
column: 7
edits:
- content: set()
location:
row: 3
column: 0
end_location:
row: 3
column: 7
parent: ~
- kind:
name: UnnecessaryLiteralSet
@@ -74,13 +77,14 @@ expression: diagnostics
row: 4
column: 7
fix:
content: set()
location:
row: 4
column: 0
end_location:
row: 4
column: 7
edits:
- content: set()
location:
row: 4
column: 0
end_location:
row: 4
column: 7
parent: ~
- kind:
name: UnnecessaryLiteralSet
@@ -94,13 +98,14 @@ expression: diagnostics
row: 6
column: 9
fix:
content: "{1}"
location:
row: 6
column: 0
end_location:
row: 6
column: 9
edits:
- content: "{1}"
location:
row: 6
column: 0
end_location:
row: 6
column: 9
parent: ~
- kind:
name: UnnecessaryLiteralSet
@@ -114,13 +119,14 @@ expression: diagnostics
row: 9
column: 2
fix:
content: "{\n 1,\n}"
location:
row: 7
column: 0
end_location:
row: 9
column: 2
edits:
- content: "{\n 1,\n}"
location:
row: 7
column: 0
end_location:
row: 9
column: 2
parent: ~
- kind:
name: UnnecessaryLiteralSet
@@ -134,13 +140,14 @@ expression: diagnostics
row: 12
column: 2
fix:
content: "{\n 1,\n}"
location:
row: 10
column: 0
end_location:
row: 12
column: 2
edits:
- content: "{\n 1,\n}"
location:
row: 10
column: 0
end_location:
row: 12
column: 2
parent: ~
- kind:
name: UnnecessaryLiteralSet
@@ -154,13 +161,14 @@ expression: diagnostics
row: 15
column: 1
fix:
content: "{1}"
location:
row: 13
column: 0
end_location:
row: 15
column: 1
edits:
- content: "{1}"
location:
row: 13
column: 0
end_location:
row: 15
column: 1
parent: ~
- kind:
name: UnnecessaryLiteralSet
@@ -174,12 +182,13 @@ expression: diagnostics
row: 18
column: 1
fix:
content: "{1,}"
location:
row: 16
column: 0
end_location:
row: 18
column: 1
edits:
- content: "{1,}"
location:
row: 16
column: 0
end_location:
row: 18
column: 1
parent: ~

View File

@@ -14,13 +14,14 @@ expression: diagnostics
row: 1
column: 19
fix:
content: "{1: 2}"
location:
row: 1
column: 5
end_location:
row: 1
column: 19
edits:
- content: "{1: 2}"
location:
row: 1
column: 5
end_location:
row: 1
column: 19
parent: ~
- kind:
name: UnnecessaryLiteralDict
@@ -34,13 +35,14 @@ expression: diagnostics
row: 2
column: 20
fix:
content: "{1: 2,}"
location:
row: 2
column: 5
end_location:
row: 2
column: 20
edits:
- content: "{1: 2,}"
location:
row: 2
column: 5
end_location:
row: 2
column: 20
parent: ~
- kind:
name: UnnecessaryLiteralDict
@@ -54,13 +56,14 @@ expression: diagnostics
row: 3
column: 13
fix:
content: "{}"
location:
row: 3
column: 5
end_location:
row: 3
column: 13
edits:
- content: "{}"
location:
row: 3
column: 5
end_location:
row: 3
column: 13
parent: ~
- kind:
name: UnnecessaryLiteralDict
@@ -74,12 +77,13 @@ expression: diagnostics
row: 4
column: 13
fix:
content: "{}"
location:
row: 4
column: 5
end_location:
row: 4
column: 13
edits:
- content: "{}"
location:
row: 4
column: 5
end_location:
row: 4
column: 13
parent: ~

View File

@@ -14,13 +14,14 @@ expression: diagnostics
row: 1
column: 11
fix:
content: ()
location:
row: 1
column: 4
end_location:
row: 1
column: 11
edits:
- content: ()
location:
row: 1
column: 4
end_location:
row: 1
column: 11
parent: ~
- kind:
name: UnnecessaryCollectionCall
@@ -34,13 +35,14 @@ expression: diagnostics
row: 2
column: 10
fix:
content: "[]"
location:
row: 2
column: 4
end_location:
row: 2
column: 10
edits:
- content: "[]"
location:
row: 2
column: 4
end_location:
row: 2
column: 10
parent: ~
- kind:
name: UnnecessaryCollectionCall
@@ -54,13 +56,14 @@ expression: diagnostics
row: 3
column: 11
fix:
content: "{}"
location:
row: 3
column: 5
end_location:
row: 3
column: 11
edits:
- content: "{}"
location:
row: 3
column: 5
end_location:
row: 3
column: 11
parent: ~
- kind:
name: UnnecessaryCollectionCall
@@ -74,12 +77,13 @@ expression: diagnostics
row: 4
column: 14
fix:
content: "{\"a\": 1}"
location:
row: 4
column: 5
end_location:
row: 4
column: 14
edits:
- content: "{\"a\": 1}"
location:
row: 4
column: 5
end_location:
row: 4
column: 14
parent: ~

View File

@@ -14,13 +14,14 @@ expression: diagnostics
row: 1
column: 11
fix:
content: ()
location:
row: 1
column: 4
end_location:
row: 1
column: 11
edits:
- content: ()
location:
row: 1
column: 4
end_location:
row: 1
column: 11
parent: ~
- kind:
name: UnnecessaryCollectionCall
@@ -34,13 +35,14 @@ expression: diagnostics
row: 2
column: 10
fix:
content: "[]"
location:
row: 2
column: 4
end_location:
row: 2
column: 10
edits:
- content: "[]"
location:
row: 2
column: 4
end_location:
row: 2
column: 10
parent: ~
- kind:
name: UnnecessaryCollectionCall
@@ -54,12 +56,13 @@ expression: diagnostics
row: 3
column: 11
fix:
content: "{}"
location:
row: 3
column: 5
end_location:
row: 3
column: 11
edits:
- content: "{}"
location:
row: 3
column: 5
end_location:
row: 3
column: 11
parent: ~

Some files were not shown because too many files have changed in this diff Show More