Remove RustPython fork (#523)

This commit is contained in:
Charlie Marsh 2022-10-30 18:04:05 -04:00 committed by GitHub
parent b060ae2f22
commit 2415d73260
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
173 changed files with 2071 additions and 2056 deletions

8
Cargo.lock generated
View file

@ -2248,7 +2248,7 @@ dependencies = [
[[package]] [[package]]
name = "rustpython-ast" name = "rustpython-ast"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/charliermarsh/RustPython.git?rev=1b253a12705f84972cd76e8dc1cdaaccb233e5a5#1b253a12705f84972cd76e8dc1cdaaccb233e5a5" source = "git+https://github.com/RustPython/RustPython.git?rev=77b821a1941019fe34f73ce17cea013ae1b98fd0#77b821a1941019fe34f73ce17cea013ae1b98fd0"
dependencies = [ dependencies = [
"num-bigint", "num-bigint",
"rustpython-common", "rustpython-common",
@ -2258,7 +2258,7 @@ dependencies = [
[[package]] [[package]]
name = "rustpython-common" name = "rustpython-common"
version = "0.0.0" version = "0.0.0"
source = "git+https://github.com/charliermarsh/RustPython.git?rev=1b253a12705f84972cd76e8dc1cdaaccb233e5a5#1b253a12705f84972cd76e8dc1cdaaccb233e5a5" source = "git+https://github.com/RustPython/RustPython.git?rev=77b821a1941019fe34f73ce17cea013ae1b98fd0#77b821a1941019fe34f73ce17cea013ae1b98fd0"
dependencies = [ dependencies = [
"ascii", "ascii",
"cfg-if 1.0.0", "cfg-if 1.0.0",
@ -2281,7 +2281,7 @@ dependencies = [
[[package]] [[package]]
name = "rustpython-compiler-core" name = "rustpython-compiler-core"
version = "0.1.2" version = "0.1.2"
source = "git+https://github.com/charliermarsh/RustPython.git?rev=1b253a12705f84972cd76e8dc1cdaaccb233e5a5#1b253a12705f84972cd76e8dc1cdaaccb233e5a5" source = "git+https://github.com/RustPython/RustPython.git?rev=77b821a1941019fe34f73ce17cea013ae1b98fd0#77b821a1941019fe34f73ce17cea013ae1b98fd0"
dependencies = [ dependencies = [
"bincode", "bincode",
"bitflags", "bitflags",
@ -2298,7 +2298,7 @@ dependencies = [
[[package]] [[package]]
name = "rustpython-parser" name = "rustpython-parser"
version = "0.1.2" version = "0.1.2"
source = "git+https://github.com/charliermarsh/RustPython.git?rev=1b253a12705f84972cd76e8dc1cdaaccb233e5a5#1b253a12705f84972cd76e8dc1cdaaccb233e5a5" source = "git+https://github.com/RustPython/RustPython.git?rev=77b821a1941019fe34f73ce17cea013ae1b98fd0#77b821a1941019fe34f73ce17cea013ae1b98fd0"
dependencies = [ dependencies = [
"ahash", "ahash",
"anyhow", "anyhow",

View file

@ -26,9 +26,9 @@ once_cell = { version = "1.13.1" }
path-absolutize = { version = "3.0.14", features = ["once_cell_cache", "use_unix_paths_on_wasm"] } path-absolutize = { version = "3.0.14", features = ["once_cell_cache", "use_unix_paths_on_wasm"] }
rayon = { version = "1.5.3" } rayon = { version = "1.5.3" }
regex = { version = "1.6.0" } regex = { version = "1.6.0" }
rustpython-ast = { features = ["unparse"], git = "https://github.com/charliermarsh/RustPython.git", rev = "1b253a12705f84972cd76e8dc1cdaaccb233e5a5" } rustpython-ast = { features = ["unparse"], git = "https://github.com/RustPython/RustPython.git", rev = "77b821a1941019fe34f73ce17cea013ae1b98fd0" }
rustpython-common = { git = "https://github.com/charliermarsh/RustPython.git", rev = "1b253a12705f84972cd76e8dc1cdaaccb233e5a5" } rustpython-common = { git = "https://github.com/RustPython/RustPython.git", rev = "77b821a1941019fe34f73ce17cea013ae1b98fd0" }
rustpython-parser = { features = ["lalrpop"], git = "https://github.com/charliermarsh/RustPython.git", rev = "1b253a12705f84972cd76e8dc1cdaaccb233e5a5" } rustpython-parser = { features = ["lalrpop"], git = "https://github.com/RustPython/RustPython.git", rev = "77b821a1941019fe34f73ce17cea013ae1b98fd0" }
serde = { version = "1.0.143", features = ["derive"] } serde = { version = "1.0.143", features = ["derive"] }
serde_json = { version = "1.0.83" } serde_json = { version = "1.0.83" }
strum = { version = "0.24.1", features = ["strum_macros"] } strum = { version = "0.24.1", features = ["strum_macros"] }

5
foo.py Normal file
View file

@ -0,0 +1,5 @@
def function_with_nesting():
"""Foo bar documentation."""
@overload
def nested_overloaded_func(a: int) -> str:
...

View file

@ -137,7 +137,7 @@ pub fn to_absolute(relative: &Location, base: &Location) -> Location {
if relative.row() == 1 { if relative.row() == 1 {
Location::new( Location::new(
relative.row() + base.row() - 1, relative.row() + base.row() - 1,
relative.column() + base.column() - 1, relative.column() + base.column(),
) )
} else { } else {
Location::new(relative.row() + base.row() - 1, relative.column()) Location::new(relative.row() + base.row() - 1, relative.column())

View file

@ -69,19 +69,18 @@ fn apply_fixes<'a>(fixes: impl Iterator<Item = &'a mut Fix>, contents: &str) ->
if fix.patch.location.row() > last_pos.row() { if fix.patch.location.row() > last_pos.row() {
if last_pos.row() > 0 || last_pos.column() > 0 { if last_pos.row() > 0 || last_pos.column() > 0 {
output.push_str(&lines[last_pos.row() - 1][last_pos.column() - 1..]); output.push_str(&lines[last_pos.row() - 1][last_pos.column()..]);
output.push('\n'); output.push('\n');
} }
for line in &lines[last_pos.row()..fix.patch.location.row() - 1] { for line in &lines[last_pos.row()..fix.patch.location.row() - 1] {
output.push_str(line); output.push_str(line);
output.push('\n'); output.push('\n');
} }
output output.push_str(&lines[fix.patch.location.row() - 1][..fix.patch.location.column()]);
.push_str(&lines[fix.patch.location.row() - 1][..fix.patch.location.column() - 1]);
output.push_str(&fix.patch.content); output.push_str(&fix.patch.content);
} else { } else {
output.push_str( output.push_str(
&lines[last_pos.row() - 1][last_pos.column() - 1..fix.patch.location.column() - 1], &lines[last_pos.row() - 1][last_pos.column()..fix.patch.location.column()],
); );
output.push_str(&fix.patch.content); output.push_str(&fix.patch.content);
} }
@ -95,7 +94,7 @@ fn apply_fixes<'a>(fixes: impl Iterator<Item = &'a mut Fix>, contents: &str) ->
&& (last_pos.row() - 1) < lines.len() && (last_pos.row() - 1) < lines.len()
&& (last_pos.row() > 0 || last_pos.column() > 0) && (last_pos.row() > 0 || last_pos.column() > 0)
{ {
output.push_str(&lines[last_pos.row() - 1][last_pos.column() - 1..]); output.push_str(&lines[last_pos.row() - 1][last_pos.column()..]);
output.push('\n'); output.push('\n');
} }
if last_pos.row() < lines.len() { if last_pos.row() < lines.len() {
@ -133,8 +132,8 @@ mod tests {
let mut fixes = vec![Fix { let mut fixes = vec![Fix {
patch: Patch { patch: Patch {
content: "Bar".to_string(), content: "Bar".to_string(),
location: Location::new(1, 9), location: Location::new(1, 8),
end_location: Location::new(1, 15), end_location: Location::new(1, 14),
}, },
applied: false, applied: false,
}]; }];
@ -159,8 +158,8 @@ mod tests {
let mut fixes = vec![Fix { let mut fixes = vec![Fix {
patch: Patch { patch: Patch {
content: "".to_string(), content: "".to_string(),
location: Location::new(1, 8), location: Location::new(1, 7),
end_location: Location::new(1, 16), end_location: Location::new(1, 15),
}, },
applied: false, applied: false,
}]; }];
@ -186,16 +185,16 @@ mod tests {
Fix { Fix {
patch: Patch { patch: Patch {
content: "".to_string(), content: "".to_string(),
location: Location::new(1, 8), location: Location::new(1, 7),
end_location: Location::new(1, 17), end_location: Location::new(1, 16),
}, },
applied: false, applied: false,
}, },
Fix { Fix {
patch: Patch { patch: Patch {
content: "".to_string(), content: "".to_string(),
location: Location::new(1, 17), location: Location::new(1, 16),
end_location: Location::new(1, 24), end_location: Location::new(1, 23),
}, },
applied: false, applied: false,
}, },
@ -222,16 +221,16 @@ mod tests {
Fix { Fix {
patch: Patch { patch: Patch {
content: "".to_string(), content: "".to_string(),
location: Location::new(1, 8), location: Location::new(1, 7),
end_location: Location::new(1, 16), end_location: Location::new(1, 15),
}, },
applied: false, applied: false,
}, },
Fix { Fix {
patch: Patch { patch: Patch {
content: "ignored".to_string(), content: "ignored".to_string(),
location: Location::new(1, 10), location: Location::new(1, 9),
end_location: Location::new(1, 12), end_location: Location::new(1, 11),
}, },
applied: false, applied: false,
}, },

View file

@ -82,8 +82,8 @@ pub fn remove_stmt(stmt: &Stmt, parent: Option<&Stmt>, deleted: &[&Stmt]) -> Res
// Otherwise, nuke the entire line. // Otherwise, nuke the entire line.
// TODO(charlie): This logic assumes that there are no multi-statement physical lines. // TODO(charlie): This logic assumes that there are no multi-statement physical lines.
Ok(Fix::deletion( Ok(Fix::deletion(
Location::new(stmt.location.row(), 1), Location::new(stmt.location.row(), 0),
Location::new(stmt.end_location.unwrap().row() + 1, 1), Location::new(stmt.end_location.unwrap().row() + 1, 0),
)) ))
} }
} }

View file

@ -387,7 +387,7 @@ where
} }
StmtKind::Import { names } => { StmtKind::Import { names } => {
if self.settings.enabled.contains(&CheckCode::E402) { if self.settings.enabled.contains(&CheckCode::E402) {
if self.seen_import_boundary && stmt.location.column() == 1 { if self.seen_import_boundary && stmt.location.column() == 0 {
self.checks.push(Check::new( self.checks.push(Check::new(
CheckKind::ModuleImportNotAtTopOfFile, CheckKind::ModuleImportNotAtTopOfFile,
self.locate_check(Range::from_located(stmt)), self.locate_check(Range::from_located(stmt)),
@ -493,7 +493,7 @@ where
level, level,
} => { } => {
if self.settings.enabled.contains(&CheckCode::E402) { if self.settings.enabled.contains(&CheckCode::E402) {
if self.seen_import_boundary && stmt.location.column() == 1 { if self.seen_import_boundary && stmt.location.column() == 0 {
self.checks.push(Check::new( self.checks.push(Check::new(
CheckKind::ModuleImportNotAtTopOfFile, CheckKind::ModuleImportNotAtTopOfFile,
self.locate_check(Range::from_located(stmt)), self.locate_check(Range::from_located(stmt)),

View file

@ -94,8 +94,8 @@ pub fn check_lines(
let check = Check::new( let check = Check::new(
CheckKind::LineTooLong(line_length, settings.line_length), CheckKind::LineTooLong(line_length, settings.line_length),
Range { Range {
location: Location::new(lineno + 1, 1), location: Location::new(lineno + 1, 0),
end_location: Location::new(lineno + 1, line_length + 1), end_location: Location::new(lineno + 1, line_length),
}, },
); );
@ -164,14 +164,14 @@ pub fn check_lines(
let mut check = Check::new( let mut check = Check::new(
CheckKind::UnusedNOQA(None), CheckKind::UnusedNOQA(None),
Range { Range {
location: Location::new(row + 1, start + 1), location: Location::new(row + 1, start),
end_location: Location::new(row + 1, end + 1), end_location: Location::new(row + 1, end),
}, },
); );
if autofix.patch() { if autofix.patch() {
check.amend(Fix::deletion( check.amend(Fix::deletion(
Location::new(row + 1, start + 1), Location::new(row + 1, start),
Location::new(row + 1, lines[row].chars().count() + 1), Location::new(row + 1, lines[row].chars().count()),
)); ));
} }
line_checks.push(check); line_checks.push(check);
@ -192,21 +192,21 @@ pub fn check_lines(
let mut check = Check::new( let mut check = Check::new(
CheckKind::UnusedNOQA(Some(invalid_codes)), CheckKind::UnusedNOQA(Some(invalid_codes)),
Range { Range {
location: Location::new(row + 1, start + 1), location: Location::new(row + 1, start),
end_location: Location::new(row + 1, end + 1), end_location: Location::new(row + 1, end),
}, },
); );
if autofix.patch() { if autofix.patch() {
if valid_codes.is_empty() { if valid_codes.is_empty() {
check.amend(Fix::deletion( check.amend(Fix::deletion(
Location::new(row + 1, start + 1), Location::new(row + 1, start),
Location::new(row + 1, lines[row].chars().count() + 1), Location::new(row + 1, lines[row].chars().count()),
)); ));
} else { } else {
check.amend(Fix::replacement( check.amend(Fix::replacement(
format!(" # noqa: {}", valid_codes.join(", ")), format!(" # noqa: {}", valid_codes.join(", ")),
Location::new(row + 1, start + 1), Location::new(row + 1, start),
Location::new(row + 1, lines[row].chars().count() + 1), Location::new(row + 1, lines[row].chars().count()),
)); ));
} }
} }

View file

@ -28,7 +28,7 @@ pub fn leading_space(line: &str) -> String {
pub fn indentation<'a>(checker: &'a Checker, docstring: &Expr) -> &'a str { pub fn indentation<'a>(checker: &'a Checker, docstring: &Expr) -> &'a str {
let range = Range::from_located(docstring); let range = Range::from_located(docstring);
checker.locator.slice_source_code_range(&Range { checker.locator.slice_source_code_range(&Range {
location: Location::new(range.location.row(), 1), location: Location::new(range.location.row(), 0),
end_location: Location::new(range.location.row(), range.location.column()), end_location: Location::new(range.location.row(), range.location.column()),
}) })
} }

View file

@ -6,45 +6,45 @@ expression: checks
BadQuotesMultilineString: single BadQuotesMultilineString: single
location: location:
row: 5 row: 5
column: 1 column: 0
end_location: end_location:
row: 7 row: 7
column: 4 column: 3
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: single BadQuotesMultilineString: single
location: location:
row: 16 row: 16
column: 5 column: 4
end_location: end_location:
row: 18 row: 18
column: 8 column: 7
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: single BadQuotesMultilineString: single
location: location:
row: 21 row: 21
column: 21 column: 20
end_location: end_location:
row: 22 row: 22
column: 38 column: 37
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: single BadQuotesMultilineString: single
location: location:
row: 30 row: 30
column: 9 column: 8
end_location: end_location:
row: 32 row: 32
column: 12 column: 11
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: single BadQuotesMultilineString: single
location: location:
row: 35 row: 35
column: 13 column: 12
end_location: end_location:
row: 37 row: 37
column: 16 column: 15
fix: ~ fix: ~

View file

@ -6,18 +6,18 @@ expression: checks
BadQuotesMultilineString: single BadQuotesMultilineString: single
location: location:
row: 3 row: 3
column: 5 column: 4
end_location: end_location:
row: 3 row: 3
column: 28 column: 27
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: single BadQuotesMultilineString: single
location: location:
row: 5 row: 5
column: 23 column: 22
end_location: end_location:
row: 5 row: 5
column: 44 column: 43
fix: ~ fix: ~

View file

@ -6,45 +6,45 @@ expression: checks
BadQuotesMultilineString: single BadQuotesMultilineString: single
location: location:
row: 3 row: 3
column: 5 column: 4
end_location: end_location:
row: 3 row: 3
column: 27 column: 26
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: single BadQuotesMultilineString: single
location: location:
row: 11 row: 11
column: 5 column: 4
end_location: end_location:
row: 11 row: 11
column: 27 column: 26
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: single BadQuotesMultilineString: single
location: location:
row: 15 row: 15
column: 39 column: 38
end_location: end_location:
row: 17
column: 3
fix: ~
- kind:
BadQuotesMultilineString: single
location:
row: 17 row: 17
column: 4 column: 4
fix: ~
- kind:
BadQuotesMultilineString: single
location:
row: 17
column: 5
end_location: end_location:
row: 17 row: 17
column: 20 column: 19
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: single BadQuotesMultilineString: single
location: location:
row: 21 row: 21
column: 5 column: 4
end_location: end_location:
row: 21 row: 21
column: 28 column: 27
fix: ~ fix: ~

View file

@ -6,18 +6,18 @@ expression: checks
BadQuotesMultilineString: single BadQuotesMultilineString: single
location: location:
row: 4 row: 4
column: 1 column: 0
end_location: end_location:
row: 6 row: 6
column: 4 column: 3
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: single BadQuotesMultilineString: single
location: location:
row: 9 row: 9
column: 1 column: 0
end_location: end_location:
row: 11 row: 11
column: 4 column: 3
fix: ~ fix: ~

View file

@ -6,18 +6,18 @@ expression: checks
BadQuotesMultilineString: single BadQuotesMultilineString: single
location: location:
row: 2 row: 2
column: 1 column: 0
end_location: end_location:
row: 2 row: 2
column: 32 column: 31
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: single BadQuotesMultilineString: single
location: location:
row: 6 row: 6
column: 1 column: 0
end_location: end_location:
row: 6 row: 6
column: 32 column: 31
fix: ~ fix: ~

View file

@ -6,27 +6,27 @@ expression: checks
BadQuotesDocstring: double BadQuotesDocstring: double
location: location:
row: 1 row: 1
column: 1 column: 0
end_location: end_location:
row: 3 row: 3
column: 4 column: 3
fix: ~ fix: ~
- kind: - kind:
BadQuotesDocstring: double BadQuotesDocstring: double
location: location:
row: 14 row: 14
column: 5 column: 4
end_location: end_location:
row: 16 row: 16
column: 8 column: 7
fix: ~ fix: ~
- kind: - kind:
BadQuotesDocstring: double BadQuotesDocstring: double
location: location:
row: 26 row: 26
column: 9 column: 8
end_location: end_location:
row: 28 row: 28
column: 12 column: 11
fix: ~ fix: ~

View file

@ -6,27 +6,27 @@ expression: checks
BadQuotesDocstring: double BadQuotesDocstring: double
location: location:
row: 2 row: 2
column: 5 column: 4
end_location: end_location:
row: 2 row: 2
column: 54
fix: ~
- kind:
BadQuotesDocstring: double
location:
row: 6
column: 9
end_location:
row: 6
column: 58
fix: ~
- kind:
BadQuotesDocstring: double
location:
row: 9
column: 29
end_location:
row: 9
column: 53 column: 53
fix: ~ fix: ~
- kind:
BadQuotesDocstring: double
location:
row: 6
column: 8
end_location:
row: 6
column: 57
fix: ~
- kind:
BadQuotesDocstring: double
location:
row: 9
column: 28
end_location:
row: 9
column: 52
fix: ~

View file

@ -6,18 +6,18 @@ expression: checks
BadQuotesDocstring: double BadQuotesDocstring: double
location: location:
row: 2 row: 2
column: 5 column: 4
end_location: end_location:
row: 2 row: 2
column: 57 column: 56
fix: ~ fix: ~
- kind: - kind:
BadQuotesDocstring: double BadQuotesDocstring: double
location: location:
row: 8 row: 8
column: 5 column: 4
end_location: end_location:
row: 10 row: 10
column: 8 column: 7
fix: ~ fix: ~

View file

@ -6,9 +6,9 @@ expression: checks
BadQuotesDocstring: double BadQuotesDocstring: double
location: location:
row: 1 row: 1
column: 1 column: 0
end_location: end_location:
row: 3 row: 3
column: 4 column: 3
fix: ~ fix: ~

View file

@ -6,9 +6,9 @@ expression: checks
BadQuotesDocstring: double BadQuotesDocstring: double
location: location:
row: 1 row: 1
column: 1 column: 0
end_location: end_location:
row: 1 row: 1
column: 50 column: 49
fix: ~ fix: ~

View file

@ -6,18 +6,18 @@ expression: checks
BadQuotesInlineString: single BadQuotesInlineString: single
location: location:
row: 1 row: 1
column: 25 column: 24
end_location: end_location:
row: 1 row: 1
column: 46 column: 45
fix: ~ fix: ~
- kind: - kind:
BadQuotesInlineString: single BadQuotesInlineString: single
location: location:
row: 2 row: 2
column: 25 column: 24
end_location: end_location:
row: 2 row: 2
column: 47 column: 46
fix: ~ fix: ~

View file

@ -5,9 +5,9 @@ expression: checks
- kind: AvoidQuoteEscape - kind: AvoidQuoteEscape
location: location:
row: 1 row: 1
column: 26 column: 25
end_location: end_location:
row: 1 row: 1
column: 48 column: 47
fix: ~ fix: ~

View file

@ -6,9 +6,9 @@ expression: checks
BadQuotesMultilineString: single BadQuotesMultilineString: single
location: location:
row: 1 row: 1
column: 5 column: 4
end_location: end_location:
row: 3 row: 3
column: 13 column: 12
fix: ~ fix: ~

View file

@ -6,27 +6,27 @@ expression: checks
BadQuotesDocstring: single BadQuotesDocstring: single
location: location:
row: 1 row: 1
column: 1 column: 0
end_location: end_location:
row: 3 row: 3
column: 4 column: 3
fix: ~ fix: ~
- kind: - kind:
BadQuotesDocstring: single BadQuotesDocstring: single
location: location:
row: 12 row: 12
column: 5 column: 4
end_location: end_location:
row: 14 row: 14
column: 8 column: 7
fix: ~ fix: ~
- kind: - kind:
BadQuotesDocstring: single BadQuotesDocstring: single
location: location:
row: 24 row: 24
column: 9 column: 8
end_location: end_location:
row: 26 row: 26
column: 12 column: 11
fix: ~ fix: ~

View file

@ -6,27 +6,27 @@ expression: checks
BadQuotesDocstring: single BadQuotesDocstring: single
location: location:
row: 2 row: 2
column: 5 column: 4
end_location: end_location:
row: 2 row: 2
column: 54
fix: ~
- kind:
BadQuotesDocstring: single
location:
row: 6
column: 9
end_location:
row: 6
column: 58
fix: ~
- kind:
BadQuotesDocstring: single
location:
row: 9
column: 29
end_location:
row: 9
column: 53 column: 53
fix: ~ fix: ~
- kind:
BadQuotesDocstring: single
location:
row: 6
column: 8
end_location:
row: 6
column: 57
fix: ~
- kind:
BadQuotesDocstring: single
location:
row: 9
column: 28
end_location:
row: 9
column: 52
fix: ~

View file

@ -6,18 +6,18 @@ expression: checks
BadQuotesDocstring: single BadQuotesDocstring: single
location: location:
row: 2 row: 2
column: 5 column: 4
end_location: end_location:
row: 2 row: 2
column: 57 column: 56
fix: ~ fix: ~
- kind: - kind:
BadQuotesDocstring: single BadQuotesDocstring: single
location: location:
row: 8 row: 8
column: 5 column: 4
end_location: end_location:
row: 10 row: 10
column: 8 column: 7
fix: ~ fix: ~

View file

@ -6,9 +6,9 @@ expression: checks
BadQuotesDocstring: single BadQuotesDocstring: single
location: location:
row: 1 row: 1
column: 1 column: 0
end_location: end_location:
row: 3 row: 3
column: 4 column: 3
fix: ~ fix: ~

View file

@ -6,9 +6,9 @@ expression: checks
BadQuotesDocstring: single BadQuotesDocstring: single
location: location:
row: 1 row: 1
column: 1 column: 0
end_location: end_location:
row: 1 row: 1
column: 50 column: 49
fix: ~ fix: ~

View file

@ -6,54 +6,54 @@ expression: checks
BadQuotesMultilineString: double BadQuotesMultilineString: double
location: location:
row: 5 row: 5
column: 1 column: 0
end_location: end_location:
row: 7 row: 7
column: 4 column: 3
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: double BadQuotesMultilineString: double
location: location:
row: 11 row: 11
column: 21 column: 20
end_location: end_location:
row: 13 row: 13
column: 4 column: 3
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: double BadQuotesMultilineString: double
location: location:
row: 18 row: 18
column: 5 column: 4
end_location: end_location:
row: 20 row: 20
column: 8 column: 7
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: double BadQuotesMultilineString: double
location: location:
row: 23 row: 23
column: 21 column: 20
end_location: end_location:
row: 24 row: 24
column: 38 column: 37
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: double BadQuotesMultilineString: double
location: location:
row: 32 row: 32
column: 9 column: 8
end_location: end_location:
row: 34 row: 34
column: 12 column: 11
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: double BadQuotesMultilineString: double
location: location:
row: 37 row: 37
column: 13 column: 12
end_location: end_location:
row: 39 row: 39
column: 16 column: 15
fix: ~ fix: ~

View file

@ -6,18 +6,18 @@ expression: checks
BadQuotesMultilineString: double BadQuotesMultilineString: double
location: location:
row: 3 row: 3
column: 5 column: 4
end_location: end_location:
row: 3 row: 3
column: 28 column: 27
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: double BadQuotesMultilineString: double
location: location:
row: 5 row: 5
column: 23 column: 22
end_location: end_location:
row: 5 row: 5
column: 44 column: 43
fix: ~ fix: ~

View file

@ -6,45 +6,45 @@ expression: checks
BadQuotesMultilineString: double BadQuotesMultilineString: double
location: location:
row: 3 row: 3
column: 5 column: 4
end_location: end_location:
row: 3 row: 3
column: 27 column: 26
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: double BadQuotesMultilineString: double
location: location:
row: 11 row: 11
column: 5 column: 4
end_location: end_location:
row: 11 row: 11
column: 27 column: 26
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: double BadQuotesMultilineString: double
location: location:
row: 15 row: 15
column: 39 column: 38
end_location: end_location:
row: 17
column: 3
fix: ~
- kind:
BadQuotesMultilineString: double
location:
row: 17 row: 17
column: 4 column: 4
fix: ~
- kind:
BadQuotesMultilineString: double
location:
row: 17
column: 5
end_location: end_location:
row: 17 row: 17
column: 20 column: 19
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: double BadQuotesMultilineString: double
location: location:
row: 21 row: 21
column: 5 column: 4
end_location: end_location:
row: 21 row: 21
column: 28 column: 27
fix: ~ fix: ~

View file

@ -6,18 +6,18 @@ expression: checks
BadQuotesMultilineString: double BadQuotesMultilineString: double
location: location:
row: 4 row: 4
column: 1 column: 0
end_location: end_location:
row: 6 row: 6
column: 4 column: 3
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: double BadQuotesMultilineString: double
location: location:
row: 9 row: 9
column: 1 column: 0
end_location: end_location:
row: 11 row: 11
column: 4 column: 3
fix: ~ fix: ~

View file

@ -6,18 +6,18 @@ expression: checks
BadQuotesMultilineString: double BadQuotesMultilineString: double
location: location:
row: 2 row: 2
column: 1 column: 0
end_location: end_location:
row: 2 row: 2
column: 32 column: 31
fix: ~ fix: ~
- kind: - kind:
BadQuotesMultilineString: double BadQuotesMultilineString: double
location: location:
row: 6 row: 6
column: 1 column: 0
end_location: end_location:
row: 6 row: 6
column: 32 column: 31
fix: ~ fix: ~

View file

@ -6,18 +6,18 @@ expression: checks
BadQuotesInlineString: double BadQuotesInlineString: double
location: location:
row: 1 row: 1
column: 25 column: 24
end_location: end_location:
row: 1 row: 1
column: 46 column: 45
fix: ~ fix: ~
- kind: - kind:
BadQuotesInlineString: double BadQuotesInlineString: double
location: location:
row: 2 row: 2
column: 25 column: 24
end_location: end_location:
row: 2 row: 2
column: 47 column: 46
fix: ~ fix: ~

View file

@ -5,9 +5,9 @@ expression: checks
- kind: AvoidQuoteEscape - kind: AvoidQuoteEscape
location: location:
row: 1 row: 1
column: 26 column: 25
end_location: end_location:
row: 1 row: 1
column: 48 column: 47
fix: ~ fix: ~

View file

@ -6,9 +6,9 @@ expression: checks
BadQuotesMultilineString: double BadQuotesMultilineString: double
location: location:
row: 1 row: 1
column: 5 column: 4
end_location: end_location:
row: 3 row: 3
column: 13 column: 12
fix: ~ fix: ~

View file

@ -6,7 +6,10 @@ use std::path::Path;
use anyhow::Result; use anyhow::Result;
#[cfg(not(target_family = "wasm"))] #[cfg(not(target_family = "wasm"))]
use log::debug; use log::debug;
use rustpython_ast::{Mod, Suite};
use rustpython_parser::error::ParseError;
use rustpython_parser::lexer::LexResult; use rustpython_parser::lexer::LexResult;
use rustpython_parser::parser::Mode;
use rustpython_parser::{lexer, parser}; use rustpython_parser::{lexer, parser};
use crate::ast::types::Range; use crate::ast::types::Range;
@ -36,6 +39,17 @@ pub(crate) fn tokenize(contents: &str) -> Vec<LexResult> {
tokens tokens
} }
/// Parse a full Python program from its tokens.
pub(crate) fn parse_program_tokens(
lxr: Vec<LexResult>,
source_path: &str,
) -> Result<Suite, ParseError> {
parser::parse_tokens(lxr, Mode::Module, source_path).map(|top| match top {
Mod::Module { body, .. } => body,
_ => unreachable!(),
})
}
pub(crate) fn check_path( pub(crate) fn check_path(
path: &Path, path: &Path,
contents: &str, contents: &str,
@ -65,7 +79,7 @@ pub(crate) fn check_path(
.iter() .iter()
.any(|check_code| matches!(check_code.lint_source(), LintSource::AST)) .any(|check_code| matches!(check_code.lint_source(), LintSource::AST))
{ {
match parser::parse_program_tokens(tokens, "<filename>") { match parse_program_tokens(tokens, "<filename>") {
Ok(python_ast) => { Ok(python_ast) => {
checks.extend(check_ast(&python_ast, &locator, settings, autofix, path)) checks.extend(check_ast(&python_ast, &locator, settings, autofix, path))
} }
@ -220,7 +234,7 @@ pub fn autoformat_path(path: &Path) -> Result<()> {
let tokens: Vec<LexResult> = tokenize(&contents); let tokens: Vec<LexResult> = tokenize(&contents);
// Generate the AST. // Generate the AST.
let python_ast = parser::parse_program_tokens(tokens, "<filename>")?; let python_ast = parse_program_tokens(tokens, "<filename>")?;
let mut generator: SourceGenerator = Default::default(); let mut generator: SourceGenerator = Default::default();
generator.unparse_suite(&python_ast)?; generator.unparse_suite(&python_ast)?;
write(path, generator.generate()?)?; write(path, generator.generate()?)?;

View file

@ -246,8 +246,8 @@ ghi
let checks = vec![Check::new( let checks = vec![Check::new(
CheckKind::UnusedVariable("x".to_string()), CheckKind::UnusedVariable("x".to_string()),
Range { Range {
location: Location::new(1, 1), location: Location::new(1, 0),
end_location: Location::new(1, 1), end_location: Location::new(1, 0),
}, },
)]; )];
let contents = "x = 1"; let contents = "x = 1";
@ -260,15 +260,15 @@ ghi
Check::new( Check::new(
CheckKind::AmbiguousVariableName("x".to_string()), CheckKind::AmbiguousVariableName("x".to_string()),
Range { Range {
location: Location::new(1, 1), location: Location::new(1, 0),
end_location: Location::new(1, 1), end_location: Location::new(1, 0),
}, },
), ),
Check::new( Check::new(
CheckKind::UnusedVariable("x".to_string()), CheckKind::UnusedVariable("x".to_string()),
Range { Range {
location: Location::new(1, 1), location: Location::new(1, 0),
end_location: Location::new(1, 1), end_location: Location::new(1, 0),
}, },
), ),
]; ];
@ -282,15 +282,15 @@ ghi
Check::new( Check::new(
CheckKind::AmbiguousVariableName("x".to_string()), CheckKind::AmbiguousVariableName("x".to_string()),
Range { Range {
location: Location::new(1, 1), location: Location::new(1, 0),
end_location: Location::new(1, 1), end_location: Location::new(1, 0),
}, },
), ),
Check::new( Check::new(
CheckKind::UnusedVariable("x".to_string()), CheckKind::UnusedVariable("x".to_string()),
Range { Range {
location: Location::new(1, 1), location: Location::new(1, 0),
end_location: Location::new(1, 1), end_location: Location::new(1, 0),
}, },
), ),
]; ];

View file

@ -35,8 +35,8 @@ pub fn not_missing(
checker.add_check(Check::new( checker.add_check(Check::new(
CheckKind::PublicModule, CheckKind::PublicModule,
Range { Range {
location: Location::new(1, 1), location: Location::new(1, 0),
end_location: Location::new(1, 1), end_location: Location::new(1, 0),
}, },
)); ));
} }
@ -47,8 +47,8 @@ pub fn not_missing(
checker.add_check(Check::new( checker.add_check(Check::new(
CheckKind::PublicPackage, CheckKind::PublicPackage,
Range { Range {
location: Location::new(1, 1), location: Location::new(1, 0),
end_location: Location::new(1, 1), end_location: Location::new(1, 0),
}, },
)); ));
} }
@ -181,8 +181,8 @@ pub fn blank_before_after_function(checker: &mut Checker, definition: &Definitio
if checker.patch() { if checker.patch() {
// Delete the blank line before the docstring. // Delete the blank line before the docstring.
check.amend(Fix::deletion( check.amend(Fix::deletion(
Location::new(docstring.location.row() - blank_lines_before, 1), Location::new(docstring.location.row() - blank_lines_before, 0),
Location::new(docstring.location.row(), 1), Location::new(docstring.location.row(), 0),
)); ));
} }
checker.add_check(check); checker.add_check(check);
@ -222,8 +222,8 @@ pub fn blank_before_after_function(checker: &mut Checker, definition: &Definitio
if checker.patch() { if checker.patch() {
// Delete the blank line after the docstring. // Delete the blank line after the docstring.
check.amend(Fix::deletion( check.amend(Fix::deletion(
Location::new(docstring.location.row() + 1, 1), Location::new(docstring.location.row() + 1, 0),
Location::new(docstring.location.row() + 1 + blank_lines_after, 1), Location::new(docstring.location.row() + 1 + blank_lines_after, 0),
)); ));
} }
checker.add_check(check); checker.add_check(check);
@ -268,8 +268,8 @@ pub fn blank_before_after_class(checker: &mut Checker, definition: &Definition)
if checker.patch() { if checker.patch() {
// Delete the blank line before the class. // Delete the blank line before the class.
check.amend(Fix::deletion( check.amend(Fix::deletion(
Location::new(docstring.location.row() - blank_lines_before, 1), Location::new(docstring.location.row() - blank_lines_before, 0),
Location::new(docstring.location.row(), 1), Location::new(docstring.location.row(), 0),
)); ));
} }
checker.add_check(check); checker.add_check(check);
@ -285,8 +285,8 @@ pub fn blank_before_after_class(checker: &mut Checker, definition: &Definition)
// Insert one blank line before the class. // Insert one blank line before the class.
check.amend(Fix::replacement( check.amend(Fix::replacement(
"\n".to_string(), "\n".to_string(),
Location::new(docstring.location.row() - blank_lines_before, 1), Location::new(docstring.location.row() - blank_lines_before, 0),
Location::new(docstring.location.row(), 1), Location::new(docstring.location.row(), 0),
)); ));
} }
checker.add_check(check); checker.add_check(check);
@ -322,10 +322,10 @@ pub fn blank_before_after_class(checker: &mut Checker, definition: &Definition)
// Insert a blank line before the class (replacing any existing lines). // Insert a blank line before the class (replacing any existing lines).
check.amend(Fix::replacement( check.amend(Fix::replacement(
"\n".to_string(), "\n".to_string(),
Location::new(docstring.end_location.unwrap().row() + 1, 1), Location::new(docstring.end_location.unwrap().row() + 1, 0),
Location::new( Location::new(
docstring.end_location.unwrap().row() + 1 + blank_lines_after, docstring.end_location.unwrap().row() + 1 + blank_lines_after,
1, 0,
), ),
)); ));
} }
@ -364,8 +364,8 @@ pub fn blank_after_summary(checker: &mut Checker, definition: &Definition) {
// Insert one blank line after the summary (replacing any existing lines). // Insert one blank line after the summary (replacing any existing lines).
check.amend(Fix::replacement( check.amend(Fix::replacement(
"\n".to_string(), "\n".to_string(),
Location::new(docstring.location.row() + 1, 1), Location::new(docstring.location.row() + 1, 0),
Location::new(docstring.location.row() + 1 + blanks_count, 1), Location::new(docstring.location.row() + 1 + blanks_count, 0),
)); ));
} }
checker.add_check(check); checker.add_check(check);
@ -416,15 +416,15 @@ pub fn indent(checker: &mut Checker, definition: &Definition) {
let mut check = Check::new( let mut check = Check::new(
CheckKind::NoUnderIndentation, CheckKind::NoUnderIndentation,
Range { Range {
location: Location::new(docstring.location.row() + i, 1), location: Location::new(docstring.location.row() + i, 0),
end_location: Location::new(docstring.location.row() + i, 1), end_location: Location::new(docstring.location.row() + i, 0),
}, },
); );
if checker.patch() { if checker.patch() {
check.amend(Fix::replacement( check.amend(Fix::replacement(
helpers::clean(&docstring_indent), helpers::clean(&docstring_indent),
Location::new(docstring.location.row() + i, 1), Location::new(docstring.location.row() + i, 0),
Location::new(docstring.location.row() + i, 1 + line_indent.len()), Location::new(docstring.location.row() + i, line_indent.len()),
)); ));
} }
checker.add_check(check); checker.add_check(check);
@ -465,18 +465,15 @@ pub fn indent(checker: &mut Checker, definition: &Definition) {
let mut check = Check::new( let mut check = Check::new(
CheckKind::NoOverIndentation, CheckKind::NoOverIndentation,
Range { Range {
location: Location::new(docstring.location.row() + i, 1), location: Location::new(docstring.location.row() + i, 0),
end_location: Location::new(docstring.location.row() + i, 1), end_location: Location::new(docstring.location.row() + i, 0),
}, },
); );
if checker.patch() { if checker.patch() {
check.amend(Fix::replacement( check.amend(Fix::replacement(
helpers::clean(&docstring_indent), helpers::clean(&docstring_indent),
Location::new(docstring.location.row() + i, 1), Location::new(docstring.location.row() + i, 0),
Location::new( Location::new(docstring.location.row() + i, line_indent.len()),
docstring.location.row() + i,
1 + line_indent.len(),
),
)); ));
} }
checker.add_check(check); checker.add_check(check);
@ -492,15 +489,15 @@ pub fn indent(checker: &mut Checker, definition: &Definition) {
let mut check = Check::new( let mut check = Check::new(
CheckKind::NoOverIndentation, CheckKind::NoOverIndentation,
Range { Range {
location: Location::new(docstring.location.row() + i, 1), location: Location::new(docstring.location.row() + i, 0),
end_location: Location::new(docstring.location.row() + i, 1), end_location: Location::new(docstring.location.row() + i, 0),
}, },
); );
if checker.patch() { if checker.patch() {
check.amend(Fix::replacement( check.amend(Fix::replacement(
helpers::clean(&docstring_indent), helpers::clean(&docstring_indent),
Location::new(docstring.location.row() + i, 1), Location::new(docstring.location.row() + i, 0),
Location::new(docstring.location.row() + i, 1 + line_indent.len()), Location::new(docstring.location.row() + i, line_indent.len()),
)); ));
} }
checker.add_check(check); checker.add_check(check);
@ -921,7 +918,7 @@ fn blanks_and_section_underline(
); );
check.amend(Fix::insertion( check.amend(Fix::insertion(
content, content,
Location::new(docstring.location.row() + context.original_index + 1, 1), Location::new(docstring.location.row() + context.original_index + 1, 0),
)); ));
} }
checker.add_check(check); checker.add_check(check);
@ -955,7 +952,7 @@ fn blanks_and_section_underline(
); );
check.amend(Fix::insertion( check.amend(Fix::insertion(
content, content,
Location::new(docstring.location.row() + context.original_index + 1, 1), Location::new(docstring.location.row() + context.original_index + 1, 0),
)); ));
} }
checker.add_check(check); checker.add_check(check);
@ -971,13 +968,13 @@ fn blanks_and_section_underline(
if checker.patch() { if checker.patch() {
// Delete any blank lines between the header and content. // Delete any blank lines between the header and content.
check.amend(Fix::deletion( check.amend(Fix::deletion(
Location::new(docstring.location.row() + context.original_index + 1, 1), Location::new(docstring.location.row() + context.original_index + 1, 0),
Location::new( Location::new(
docstring.location.row() docstring.location.row()
+ context.original_index + context.original_index
+ 1 + 1
+ blank_lines_after_header, + blank_lines_after_header,
1, 0,
), ),
)); ));
} }
@ -994,13 +991,13 @@ fn blanks_and_section_underline(
if checker.patch() { if checker.patch() {
// Delete any blank lines between the header and the underline. // Delete any blank lines between the header and the underline.
check.amend(Fix::deletion( check.amend(Fix::deletion(
Location::new(docstring.location.row() + context.original_index + 1, 1), Location::new(docstring.location.row() + context.original_index + 1, 0),
Location::new( Location::new(
docstring.location.row() docstring.location.row()
+ context.original_index + context.original_index
+ 1 + 1
+ blank_lines_after_header, + blank_lines_after_header,
1, 0,
), ),
)); ));
} }
@ -1036,7 +1033,7 @@ fn blanks_and_section_underline(
+ context.original_index + context.original_index
+ 1 + 1
+ blank_lines_after_header, + blank_lines_after_header,
1, 0,
), ),
Location::new( Location::new(
docstring.location.row() docstring.location.row()
@ -1044,7 +1041,7 @@ fn blanks_and_section_underline(
+ 1 + 1
+ blank_lines_after_header + blank_lines_after_header
+ 1, + 1,
1, 0,
), ),
)); ));
}; };
@ -1069,7 +1066,7 @@ fn blanks_and_section_underline(
+ context.original_index + context.original_index
+ 1 + 1
+ blank_lines_after_header, + blank_lines_after_header,
1, 0,
), ),
Location::new( Location::new(
docstring.location.row() docstring.location.row()
@ -1117,7 +1114,7 @@ fn blanks_and_section_underline(
+ context.original_index + context.original_index
+ 1 + 1
+ line_after_dashes_index, + line_after_dashes_index,
1, 0,
), ),
Location::new( Location::new(
docstring.location.row() docstring.location.row()
@ -1125,7 +1122,7 @@ fn blanks_and_section_underline(
+ 1 + 1
+ line_after_dashes_index + line_after_dashes_index
+ blank_lines_after_dashes, + blank_lines_after_dashes,
1, 0,
), ),
)); ));
} }
@ -1179,11 +1176,11 @@ fn common_section(
capitalized_section_name, capitalized_section_name,
Location::new( Location::new(
docstring.location.row() + context.original_index, docstring.location.row() + context.original_index,
1 + section_name_start, *section_name_start,
), ),
Location::new( Location::new(
docstring.location.row() + context.original_index, docstring.location.row() + context.original_index,
1 + section_name_start + section_name_length, section_name_start + section_name_length,
), ),
)) ))
} }
@ -1205,10 +1202,10 @@ fn common_section(
// Replace the existing indentation with whitespace of the appropriate length. // Replace the existing indentation with whitespace of the appropriate length.
check.amend(Fix::replacement( check.amend(Fix::replacement(
helpers::clean(&indentation), helpers::clean(&indentation),
Location::new(docstring.location.row() + context.original_index, 1), Location::new(docstring.location.row() + context.original_index, 0),
Location::new( Location::new(
docstring.location.row() + context.original_index, docstring.location.row() + context.original_index,
1 + leading_space.len(), leading_space.len(),
), ),
)); ));
}; };
@ -1237,7 +1234,7 @@ fn common_section(
+ context.original_index + context.original_index
+ 1 + 1
+ context.following_lines.len(), + context.following_lines.len(),
1, 0,
), ),
)); ));
} }
@ -1258,7 +1255,7 @@ fn common_section(
+ context.original_index + context.original_index
+ 1 + 1
+ context.following_lines.len(), + context.following_lines.len(),
1, 0,
), ),
)); ));
} }
@ -1277,7 +1274,7 @@ fn common_section(
// Add a blank line before the section. // Add a blank line before the section.
check.amend(Fix::insertion( check.amend(Fix::insertion(
"\n".to_string(), "\n".to_string(),
Location::new(docstring.location.row() + context.original_index, 1), Location::new(docstring.location.row() + context.original_index, 0),
)); ));
} }
checker.add_check(check) checker.add_check(check)
@ -1444,11 +1441,11 @@ fn numpy_section(checker: &mut Checker, definition: &Definition, context: &Secti
check.amend(Fix::deletion( check.amend(Fix::deletion(
Location::new( Location::new(
docstring.location.row() + context.original_index, docstring.location.row() + context.original_index,
1 + suffix_start, *suffix_start,
), ),
Location::new( Location::new(
docstring.location.row() + context.original_index, docstring.location.row() + context.original_index,
1 + suffix_start + suffix_length, suffix_start + suffix_length,
), ),
)); ));
} }
@ -1494,11 +1491,11 @@ fn google_section(checker: &mut Checker, definition: &Definition, context: &Sect
":".to_string(), ":".to_string(),
Location::new( Location::new(
docstring.location.row() + context.original_index, docstring.location.row() + context.original_index,
1 + suffix_start, *suffix_start,
), ),
Location::new( Location::new(
docstring.location.row() + context.original_index, docstring.location.row() + context.original_index,
1 + suffix_start + suffix_length, suffix_start + suffix_length,
), ),
)); ));
} }

View file

@ -6,162 +6,162 @@ expression: checks
BuiltinVariableShadowing: sum BuiltinVariableShadowing: sum
location: location:
row: 1 row: 1
column: 1 column: 0
end_location: end_location:
row: 1 row: 1
column: 19 column: 18
fix: ~ fix: ~
- kind: - kind:
BuiltinVariableShadowing: int BuiltinVariableShadowing: int
location: location:
row: 2 row: 2
column: 1 column: 0
end_location: end_location:
row: 2 row: 2
column: 30 column: 29
fix: ~ fix: ~
- kind: - kind:
BuiltinVariableShadowing: print BuiltinVariableShadowing: print
location: location:
row: 4 row: 4
column: 1 column: 0
end_location: end_location:
row: 4 row: 4
column: 6 column: 5
fix: ~ fix: ~
- kind: - kind:
BuiltinVariableShadowing: copyright BuiltinVariableShadowing: copyright
location: location:
row: 5 row: 5
column: 1 column: 0
end_location: end_location:
row: 5 row: 5
column: 10 column: 9
fix: ~ fix: ~
- kind: - kind:
BuiltinVariableShadowing: complex BuiltinVariableShadowing: complex
location: location:
row: 6 row: 6
column: 2 column: 1
end_location: end_location:
row: 6 row: 6
column: 14 column: 13
fix: ~ fix: ~
- kind: - kind:
BuiltinVariableShadowing: float BuiltinVariableShadowing: float
location: location:
row: 7 row: 7
column: 1 column: 0
end_location: end_location:
row: 7 row: 7
column: 6 column: 5
fix: ~ fix: ~
- kind: - kind:
BuiltinVariableShadowing: object BuiltinVariableShadowing: object
location: location:
row: 7 row: 7
column: 9 column: 8
end_location: end_location:
row: 7 row: 7
column: 15 column: 14
fix: ~ fix: ~
- kind: - kind:
BuiltinVariableShadowing: min BuiltinVariableShadowing: min
location: location:
row: 8 row: 8
column: 1 column: 0
end_location: end_location:
row: 8 row: 8
column: 4 column: 3
fix: ~ fix: ~
- kind: - kind:
BuiltinVariableShadowing: max BuiltinVariableShadowing: max
location: location:
row: 8 row: 8
column: 6 column: 5
end_location: end_location:
row: 8 row: 8
column: 9 column: 8
fix: ~ fix: ~
- kind: - kind:
BuiltinVariableShadowing: bytes BuiltinVariableShadowing: bytes
location: location:
row: 10 row: 10
column: 1 column: 0
end_location: end_location:
row: 13 row: 13
column: 1 column: 0
fix: ~ fix: ~
- kind: - kind:
BuiltinVariableShadowing: slice BuiltinVariableShadowing: slice
location: location:
row: 13 row: 13
column: 1 column: 0
end_location: end_location:
row: 16 row: 16
column: 1 column: 0
fix: ~ fix: ~
- kind: - kind:
BuiltinVariableShadowing: ValueError BuiltinVariableShadowing: ValueError
location: location:
row: 18 row: 18
column: 1 column: 0
end_location: end_location:
row: 21 row: 21
column: 1 column: 0
fix: ~ fix: ~
- kind: - kind:
BuiltinVariableShadowing: memoryview BuiltinVariableShadowing: memoryview
location: location:
row: 21 row: 21
column: 5 column: 4
end_location: end_location:
row: 21 row: 21
column: 15 column: 14
fix: ~ fix: ~
- kind: - kind:
BuiltinVariableShadowing: bytearray BuiltinVariableShadowing: bytearray
location: location:
row: 21 row: 21
column: 18 column: 17
end_location: end_location:
row: 21 row: 21
column: 27 column: 26
fix: ~ fix: ~
- kind: - kind:
BuiltinVariableShadowing: str BuiltinVariableShadowing: str
location: location:
row: 24 row: 24
column: 22 column: 21
end_location: end_location:
row: 24 row: 24
column: 25 column: 24
fix: ~ fix: ~
- kind: - kind:
BuiltinVariableShadowing: all BuiltinVariableShadowing: all
location: location:
row: 24 row: 24
column: 45 column: 44
end_location: end_location:
row: 24 row: 24
column: 48 column: 47
fix: ~ fix: ~
- kind: - kind:
BuiltinVariableShadowing: any BuiltinVariableShadowing: any
location: location:
row: 24 row: 24
column: 50 column: 49
end_location: end_location:
row: 24 row: 24
column: 53 column: 52
fix: ~ fix: ~
- kind: - kind:
BuiltinVariableShadowing: sum BuiltinVariableShadowing: sum
location: location:
row: 27 row: 27
column: 8 column: 7
end_location: end_location:
row: 27 row: 27
column: 11 column: 10
fix: ~ fix: ~

View file

@ -6,63 +6,63 @@ expression: checks
BuiltinArgumentShadowing: str BuiltinArgumentShadowing: str
location: location:
row: 1 row: 1
column: 11 column: 10
end_location: end_location:
row: 1 row: 1
column: 14 column: 13
fix: ~ fix: ~
- kind: - kind:
BuiltinArgumentShadowing: type BuiltinArgumentShadowing: type
location: location:
row: 1 row: 1
column: 19 column: 18
end_location: end_location:
row: 1 row: 1
column: 23 column: 22
fix: ~ fix: ~
- kind: - kind:
BuiltinArgumentShadowing: complex BuiltinArgumentShadowing: complex
location: location:
row: 1 row: 1
column: 26 column: 25
end_location: end_location:
row: 1 row: 1
column: 33 column: 32
fix: ~ fix: ~
- kind: - kind:
BuiltinArgumentShadowing: Exception BuiltinArgumentShadowing: Exception
location: location:
row: 1 row: 1
column: 35 column: 34
end_location: end_location:
row: 1 row: 1
column: 44 column: 43
fix: ~ fix: ~
- kind: - kind:
BuiltinArgumentShadowing: getattr BuiltinArgumentShadowing: getattr
location: location:
row: 1 row: 1
column: 48 column: 47
end_location: end_location:
row: 1 row: 1
column: 55 column: 54
fix: ~ fix: ~
- kind: - kind:
BuiltinArgumentShadowing: bytes BuiltinArgumentShadowing: bytes
location: location:
row: 5 row: 5
column: 17 column: 16
end_location: end_location:
row: 5 row: 5
column: 22 column: 21
fix: ~ fix: ~
- kind: - kind:
BuiltinArgumentShadowing: float BuiltinArgumentShadowing: float
location: location:
row: 9 row: 9
column: 16 column: 15
end_location: end_location:
row: 9 row: 9
column: 21 column: 20
fix: ~ fix: ~

View file

@ -6,18 +6,18 @@ expression: checks
BuiltinAttributeShadowing: ImportError BuiltinAttributeShadowing: ImportError
location: location:
row: 2 row: 2
column: 5 column: 4
end_location: end_location:
row: 2 row: 2
column: 16 column: 15
fix: ~ fix: ~
- kind: - kind:
BuiltinAttributeShadowing: str BuiltinAttributeShadowing: str
location: location:
row: 7 row: 7
column: 5 column: 4
end_location: end_location:
row: 9 row: 9
column: 1 column: 0
fix: ~ fix: ~

View file

@ -5,17 +5,17 @@ expression: checks
- kind: UnaryPrefixIncrement - kind: UnaryPrefixIncrement
location: location:
row: 15 row: 15
column: 9 column: 8
end_location: end_location:
row: 15 row: 15
column: 12 column: 11
fix: ~ fix: ~
- kind: UnaryPrefixIncrement - kind: UnaryPrefixIncrement
location: location:
row: 20 row: 20
column: 12 column: 11
end_location: end_location:
row: 20 row: 20
column: 15 column: 14
fix: ~ fix: ~

View file

@ -5,89 +5,89 @@ expression: checks
- kind: MutableArgumentDefault - kind: MutableArgumentDefault
location: location:
row: 60 row: 60
column: 25 column: 24
end_location: end_location:
row: 60 row: 60
column: 34 column: 33
fix: ~ fix: ~
- kind: MutableArgumentDefault - kind: MutableArgumentDefault
location: location:
row: 64 row: 64
column: 30 column: 29
end_location: end_location:
row: 64 row: 64
column: 32 column: 31
fix: ~ fix: ~
- kind: MutableArgumentDefault - kind: MutableArgumentDefault
location: location:
row: 68 row: 68
column: 20 column: 19
end_location: end_location:
row: 68 row: 68
column: 24
fix: ~
- kind: MutableArgumentDefault
location:
row: 72
column: 19
end_location:
row: 72
column: 44
fix: ~
- kind: MutableArgumentDefault
location:
row: 76
column: 31
end_location:
row: 76
column: 56
fix: ~
- kind: MutableArgumentDefault
location:
row: 80
column: 25 column: 25
fix: ~
- kind: MutableArgumentDefault
location:
row: 72
column: 20
end_location:
row: 72
column: 45
fix: ~
- kind: MutableArgumentDefault
location:
row: 76
column: 32
end_location:
row: 76
column: 57
fix: ~
- kind: MutableArgumentDefault
location:
row: 80
column: 26
end_location: end_location:
row: 80 row: 80
column: 45 column: 44
fix: ~ fix: ~
- kind: MutableArgumentDefault - kind: MutableArgumentDefault
location: location:
row: 85 row: 85
column: 46
end_location:
row: 85
column: 70
fix: ~
- kind: MutableArgumentDefault
location:
row: 89
column: 46
end_location:
row: 89
column: 73
fix: ~
- kind: MutableArgumentDefault
location:
row: 93
column: 45 column: 45
end_location: end_location:
row: 93 row: 85
column: 69 column: 69
fix: ~ fix: ~
- kind: MutableArgumentDefault
location:
row: 89
column: 45
end_location:
row: 89
column: 72
fix: ~
- kind: MutableArgumentDefault
location:
row: 93
column: 44
end_location:
row: 93
column: 68
fix: ~
- kind: MutableArgumentDefault - kind: MutableArgumentDefault
location: location:
row: 97 row: 97
column: 33 column: 32
end_location: end_location:
row: 97 row: 97
column: 35 column: 34
fix: ~ fix: ~
- kind: MutableArgumentDefault - kind: MutableArgumentDefault
location: location:
row: 170 row: 170
column: 20 column: 19
end_location: end_location:
row: 170 row: 170
column: 49 column: 48
fix: ~ fix: ~

View file

@ -6,72 +6,72 @@ expression: checks
UnusedLoopControlVariable: i UnusedLoopControlVariable: i
location: location:
row: 6 row: 6
column: 5 column: 4
end_location: end_location:
row: 6 row: 6
column: 6 column: 5
fix: fix:
patch: patch:
content: _i content: _i
location: location:
row: 6 row: 6
column: 5 column: 4
end_location: end_location:
row: 6 row: 6
column: 6 column: 5
applied: false applied: false
- kind: - kind:
UnusedLoopControlVariable: k UnusedLoopControlVariable: k
location: location:
row: 18 row: 18
column: 13 column: 12
end_location: end_location:
row: 18 row: 18
column: 14 column: 13
fix: fix:
patch: patch:
content: _k content: _k
location: location:
row: 18 row: 18
column: 13 column: 12
end_location: end_location:
row: 18 row: 18
column: 14 column: 13
applied: false applied: false
- kind: - kind:
UnusedLoopControlVariable: i UnusedLoopControlVariable: i
location: location:
row: 30 row: 30
column: 5 column: 4
end_location: end_location:
row: 30 row: 30
column: 6 column: 5
fix: fix:
patch: patch:
content: _i content: _i
location: location:
row: 30 row: 30
column: 5 column: 4
end_location: end_location:
row: 30 row: 30
column: 6 column: 5
applied: false applied: false
- kind: - kind:
UnusedLoopControlVariable: k UnusedLoopControlVariable: k
location: location:
row: 30 row: 30
column: 13 column: 12
end_location: end_location:
row: 30 row: 30
column: 14 column: 13
fix: fix:
patch: patch:
content: _k content: _k
location: location:
row: 30 row: 30
column: 13 column: 12
end_location: end_location:
row: 30 row: 30
column: 14 column: 13
applied: false applied: false

View file

@ -5,35 +5,35 @@ expression: checks
- kind: DoNotAssertFalse - kind: DoNotAssertFalse
location: location:
row: 8 row: 8
column: 8 column: 7
end_location: end_location:
row: 8 row: 8
column: 13 column: 12
fix: fix:
patch: patch:
content: raise AssertionError() content: raise AssertionError()
location: location:
row: 8 row: 8
column: 1 column: 0
end_location: end_location:
row: 8 row: 8
column: 13 column: 12
applied: false applied: false
- kind: DoNotAssertFalse - kind: DoNotAssertFalse
location: location:
row: 10 row: 10
column: 8 column: 7
end_location: end_location:
row: 10 row: 10
column: 13 column: 12
fix: fix:
patch: patch:
content: "raise AssertionError('message')" content: "raise AssertionError('message')"
location: location:
row: 10 row: 10
column: 1 column: 0
end_location: end_location:
row: 10 row: 10
column: 24 column: 23
applied: false applied: false

View file

@ -6,9 +6,9 @@ expression: checks
RedundantTupleInExceptionHandler: ValueError RedundantTupleInExceptionHandler: ValueError
location: location:
row: 3 row: 3
column: 9 column: 8
end_location: end_location:
row: 3 row: 3
column: 20 column: 19
fix: ~ fix: ~

View file

@ -7,56 +7,56 @@ expression: checks
- OSError - OSError
location: location:
row: 17 row: 17
column: 9 column: 8
end_location: end_location:
row: 17 row: 17
column: 25 column: 24
fix: fix:
patch: patch:
content: "OSError," content: "OSError,"
location: location:
row: 17 row: 17
column: 9 column: 8
end_location: end_location:
row: 17 row: 17
column: 25 column: 24
applied: false applied: false
- kind: - kind:
DuplicateHandlerException: DuplicateHandlerException:
- MyError - MyError
location: location:
row: 28 row: 28
column: 9 column: 8
end_location: end_location:
row: 28 row: 28
column: 25 column: 24
fix: fix:
patch: patch:
content: "MyError," content: "MyError,"
location: location:
row: 28 row: 28
column: 9 column: 8
end_location: end_location:
row: 28 row: 28
column: 25 column: 24
applied: false applied: false
- kind: - kind:
DuplicateHandlerException: DuplicateHandlerException:
- re.error - re.error
location: location:
row: 49 row: 49
column: 9 column: 8
end_location: end_location:
row: 49 row: 49
column: 27 column: 26
fix: fix:
patch: patch:
content: "re.error," content: "re.error,"
location: location:
row: 49 row: 49
column: 9 column: 8
end_location: end_location:
row: 49 row: 49
column: 27 column: 26
applied: false applied: false

View file

@ -5,9 +5,9 @@ expression: checks
- kind: NoAssertRaisesException - kind: NoAssertRaisesException
location: location:
row: 22 row: 22
column: 9 column: 8
end_location: end_location:
row: 25 row: 25
column: 5 column: 4
fix: ~ fix: ~

View file

@ -6,36 +6,36 @@ expression: checks
DuplicateTryBlockException: ValueError DuplicateTryBlockException: ValueError
location: location:
row: 15 row: 15
column: 1 column: 0
end_location: end_location:
row: 22 row: 22
column: 1 column: 0
fix: ~ fix: ~
- kind: - kind:
DuplicateTryBlockException: pickle.PickleError DuplicateTryBlockException: pickle.PickleError
location: location:
row: 22 row: 22
column: 1 column: 0
end_location: end_location:
row: 31 row: 31
column: 1 column: 0
fix: ~ fix: ~
- kind: - kind:
DuplicateTryBlockException: TypeError DuplicateTryBlockException: TypeError
location: location:
row: 31 row: 31
column: 1 column: 0
end_location: end_location:
row: 39 row: 39
column: 1 column: 0
fix: ~ fix: ~
- kind: - kind:
DuplicateTryBlockException: ValueError DuplicateTryBlockException: ValueError
location: location:
row: 31 row: 31
column: 1 column: 0
end_location: end_location:
row: 39 row: 39
column: 1 column: 0
fix: ~ fix: ~

View file

@ -5,9 +5,9 @@ expression: checks
- kind: UnnecessaryGeneratorList - kind: UnnecessaryGeneratorList
location: location:
row: 1 row: 1
column: 5 column: 4
end_location: end_location:
row: 1 row: 1
column: 30 column: 29
fix: ~ fix: ~

View file

@ -5,9 +5,9 @@ expression: checks
- kind: UnnecessaryGeneratorSet - kind: UnnecessaryGeneratorSet
location: location:
row: 1 row: 1
column: 5 column: 4
end_location: end_location:
row: 1 row: 1
column: 29 column: 28
fix: ~ fix: ~

View file

@ -5,9 +5,9 @@ expression: checks
- kind: UnnecessaryGeneratorDict - kind: UnnecessaryGeneratorDict
location: location:
row: 1 row: 1
column: 1 column: 0
end_location: end_location:
row: 1 row: 1
column: 31 column: 30
fix: ~ fix: ~

View file

@ -5,9 +5,9 @@ expression: checks
- kind: UnnecessaryListComprehensionSet - kind: UnnecessaryListComprehensionSet
location: location:
row: 1 row: 1
column: 5 column: 4
end_location: end_location:
row: 1 row: 1
column: 31 column: 30
fix: ~ fix: ~

View file

@ -5,9 +5,9 @@ expression: checks
- kind: UnnecessaryListComprehensionDict - kind: UnnecessaryListComprehensionDict
location: location:
row: 1 row: 1
column: 1 column: 0
end_location: end_location:
row: 1 row: 1
column: 33 column: 32
fix: ~ fix: ~

View file

@ -6,36 +6,36 @@ expression: checks
UnnecessaryLiteralSet: list UnnecessaryLiteralSet: list
location: location:
row: 1 row: 1
column: 6 column: 5
end_location: end_location:
row: 1 row: 1
column: 17 column: 16
fix: ~ fix: ~
- kind: - kind:
UnnecessaryLiteralSet: tuple UnnecessaryLiteralSet: tuple
location: location:
row: 2 row: 2
column: 6 column: 5
end_location: end_location:
row: 2 row: 2
column: 17 column: 16
fix: ~ fix: ~
- kind: - kind:
UnnecessaryLiteralSet: list UnnecessaryLiteralSet: list
location: location:
row: 3 row: 3
column: 6 column: 5
end_location: end_location:
row: 3 row: 3
column: 13 column: 12
fix: ~ fix: ~
- kind: - kind:
UnnecessaryLiteralSet: tuple UnnecessaryLiteralSet: tuple
location: location:
row: 4 row: 4
column: 6 column: 5
end_location: end_location:
row: 4 row: 4
column: 13 column: 12
fix: ~ fix: ~

View file

@ -6,36 +6,36 @@ expression: checks
UnnecessaryLiteralDict: list UnnecessaryLiteralDict: list
location: location:
row: 1 row: 1
column: 6 column: 5
end_location: end_location:
row: 1 row: 1
column: 20 column: 19
fix: ~ fix: ~
- kind: - kind:
UnnecessaryLiteralDict: tuple UnnecessaryLiteralDict: tuple
location: location:
row: 2 row: 2
column: 6 column: 5
end_location: end_location:
row: 2 row: 2
column: 21 column: 20
fix: ~ fix: ~
- kind: - kind:
UnnecessaryLiteralDict: list UnnecessaryLiteralDict: list
location: location:
row: 3 row: 3
column: 6 column: 5
end_location: end_location:
row: 3 row: 3
column: 14 column: 13
fix: ~ fix: ~
- kind: - kind:
UnnecessaryLiteralDict: tuple UnnecessaryLiteralDict: tuple
location: location:
row: 4 row: 4
column: 6 column: 5
end_location: end_location:
row: 4 row: 4
column: 14 column: 13
fix: ~ fix: ~

View file

@ -6,36 +6,36 @@ expression: checks
UnnecessaryCollectionCall: tuple UnnecessaryCollectionCall: tuple
location: location:
row: 1 row: 1
column: 5 column: 4
end_location: end_location:
row: 1 row: 1
column: 12 column: 11
fix: ~ fix: ~
- kind: - kind:
UnnecessaryCollectionCall: list UnnecessaryCollectionCall: list
location: location:
row: 2 row: 2
column: 5 column: 4
end_location: end_location:
row: 2 row: 2
column: 10
fix: ~
- kind:
UnnecessaryCollectionCall: dict
location:
row: 3
column: 5
end_location:
row: 3
column: 11 column: 11
fix: ~ fix: ~
- kind:
UnnecessaryCollectionCall: dict
location:
row: 3
column: 6
end_location:
row: 3
column: 12
fix: ~
- kind: - kind:
UnnecessaryCollectionCall: dict UnnecessaryCollectionCall: dict
location: location:
row: 4 row: 4
column: 6 column: 5
end_location: end_location:
row: 4 row: 4
column: 15 column: 14
fix: ~ fix: ~

View file

@ -6,27 +6,27 @@ expression: checks
UnnecessaryLiteralWithinTupleCall: list UnnecessaryLiteralWithinTupleCall: list
location: location:
row: 1 row: 1
column: 6 column: 5
end_location: end_location:
row: 1 row: 1
column: 19 column: 18
fix: ~ fix: ~
- kind: - kind:
UnnecessaryLiteralWithinTupleCall: tuple UnnecessaryLiteralWithinTupleCall: tuple
location: location:
row: 2 row: 2
column: 6 column: 5
end_location: end_location:
row: 2 row: 2
column: 19 column: 18
fix: ~ fix: ~
- kind: - kind:
UnnecessaryLiteralWithinTupleCall: list UnnecessaryLiteralWithinTupleCall: list
location: location:
row: 3 row: 3
column: 6 column: 5
end_location: end_location:
row: 3 row: 3
column: 15 column: 14
fix: ~ fix: ~

View file

@ -6,36 +6,36 @@ expression: checks
UnnecessaryLiteralWithinListCall: list UnnecessaryLiteralWithinListCall: list
location: location:
row: 1 row: 1
column: 6 column: 5
end_location: end_location:
row: 1 row: 1
column: 18 column: 17
fix: ~ fix: ~
- kind: - kind:
UnnecessaryLiteralWithinListCall: tuple UnnecessaryLiteralWithinListCall: tuple
location: location:
row: 2 row: 2
column: 6 column: 5
end_location: end_location:
row: 2 row: 2
column: 18 column: 17
fix: ~ fix: ~
- kind: - kind:
UnnecessaryLiteralWithinListCall: list UnnecessaryLiteralWithinListCall: list
location: location:
row: 3 row: 3
column: 6 column: 5
end_location: end_location:
row: 3 row: 3
column: 14 column: 13
fix: ~ fix: ~
- kind: - kind:
UnnecessaryLiteralWithinListCall: tuple UnnecessaryLiteralWithinListCall: tuple
location: location:
row: 4 row: 4
column: 6 column: 5
end_location: end_location:
row: 4 row: 4
column: 14 column: 13
fix: ~ fix: ~

View file

@ -5,9 +5,9 @@ expression: checks
- kind: UnnecessaryListCall - kind: UnnecessaryListCall
location: location:
row: 2 row: 2
column: 1 column: 0
end_location: end_location:
row: 2 row: 2
column: 21 column: 20
fix: ~ fix: ~

View file

@ -6,27 +6,27 @@ expression: checks
UnnecessaryCallAroundSorted: list UnnecessaryCallAroundSorted: list
location: location:
row: 2 row: 2
column: 1 column: 0
end_location: end_location:
row: 2 row: 2
column: 16 column: 15
fix: ~ fix: ~
- kind: - kind:
UnnecessaryCallAroundSorted: reversed UnnecessaryCallAroundSorted: reversed
location: location:
row: 3 row: 3
column: 1 column: 0
end_location: end_location:
row: 3 row: 3
column: 20 column: 19
fix: ~ fix: ~
- kind: - kind:
UnnecessaryCallAroundSorted: reversed UnnecessaryCallAroundSorted: reversed
location: location:
row: 4 row: 4
column: 1 column: 0
end_location: end_location:
row: 4 row: 4
column: 34 column: 33
fix: ~ fix: ~

View file

@ -8,76 +8,76 @@ expression: checks
- list - list
location: location:
row: 2 row: 2
column: 1 column: 0
end_location: end_location:
row: 2 row: 2
column: 14
fix: ~
- kind:
UnnecessaryDoubleCastOrProcess:
- tuple
- list
location:
row: 3
column: 1
end_location:
row: 3
column: 15
fix: ~
- kind:
UnnecessaryDoubleCastOrProcess:
- list
- tuple
location:
row: 4
column: 1
end_location:
row: 4
column: 15
fix: ~
- kind:
UnnecessaryDoubleCastOrProcess:
- tuple
- tuple
location:
row: 5
column: 1
end_location:
row: 5
column: 16
fix: ~
- kind:
UnnecessaryDoubleCastOrProcess:
- set
- set
location:
row: 6
column: 1
end_location:
row: 6
column: 12
fix: ~
- kind:
UnnecessaryDoubleCastOrProcess:
- list
- set
location:
row: 7
column: 1
end_location:
row: 7
column: 13 column: 13
fix: ~ fix: ~
- kind:
UnnecessaryDoubleCastOrProcess:
- tuple
- list
location:
row: 3
column: 0
end_location:
row: 3
column: 14
fix: ~
- kind:
UnnecessaryDoubleCastOrProcess:
- list
- tuple
location:
row: 4
column: 0
end_location:
row: 4
column: 14
fix: ~
- kind:
UnnecessaryDoubleCastOrProcess:
- tuple
- tuple
location:
row: 5
column: 0
end_location:
row: 5
column: 15
fix: ~
- kind:
UnnecessaryDoubleCastOrProcess:
- set
- set
location:
row: 6
column: 0
end_location:
row: 6
column: 11
fix: ~
- kind:
UnnecessaryDoubleCastOrProcess:
- list
- set
location:
row: 7
column: 0
end_location:
row: 7
column: 12
fix: ~
- kind: - kind:
UnnecessaryDoubleCastOrProcess: UnnecessaryDoubleCastOrProcess:
- tuple - tuple
- set - set
location: location:
row: 8 row: 8
column: 1 column: 0
end_location: end_location:
row: 8 row: 8
column: 14 column: 13
fix: ~ fix: ~
- kind: - kind:
UnnecessaryDoubleCastOrProcess: UnnecessaryDoubleCastOrProcess:
@ -85,10 +85,10 @@ expression: checks
- set - set
location: location:
row: 9 row: 9
column: 1 column: 0
end_location: end_location:
row: 9 row: 9
column: 15 column: 14
fix: ~ fix: ~
- kind: - kind:
UnnecessaryDoubleCastOrProcess: UnnecessaryDoubleCastOrProcess:
@ -96,10 +96,10 @@ expression: checks
- set - set
location: location:
row: 10 row: 10
column: 1 column: 0
end_location: end_location:
row: 10 row: 10
column: 17 column: 16
fix: ~ fix: ~
- kind: - kind:
UnnecessaryDoubleCastOrProcess: UnnecessaryDoubleCastOrProcess:
@ -107,10 +107,10 @@ expression: checks
- sorted - sorted
location: location:
row: 11 row: 11
column: 1 column: 0
end_location: end_location:
row: 11 row: 11
column: 16 column: 15
fix: ~ fix: ~
- kind: - kind:
UnnecessaryDoubleCastOrProcess: UnnecessaryDoubleCastOrProcess:
@ -118,10 +118,10 @@ expression: checks
- sorted - sorted
location: location:
row: 12 row: 12
column: 1 column: 0
end_location: end_location:
row: 12 row: 12
column: 17 column: 16
fix: ~ fix: ~
- kind: - kind:
UnnecessaryDoubleCastOrProcess: UnnecessaryDoubleCastOrProcess:
@ -129,10 +129,10 @@ expression: checks
- sorted - sorted
location: location:
row: 13 row: 13
column: 1 column: 0
end_location: end_location:
row: 13 row: 13
column: 18 column: 17
fix: ~ fix: ~
- kind: - kind:
UnnecessaryDoubleCastOrProcess: UnnecessaryDoubleCastOrProcess:
@ -140,9 +140,9 @@ expression: checks
- sorted - sorted
location: location:
row: 14 row: 14
column: 1 column: 0
end_location: end_location:
row: 14 row: 14
column: 20 column: 19
fix: ~ fix: ~

View file

@ -6,36 +6,36 @@ expression: checks
UnnecessarySubscriptReversal: set UnnecessarySubscriptReversal: set
location: location:
row: 2 row: 2
column: 5 column: 4
end_location: end_location:
row: 2 row: 2
column: 19 column: 18
fix: ~ fix: ~
- kind: - kind:
UnnecessarySubscriptReversal: reversed UnnecessarySubscriptReversal: reversed
location: location:
row: 3 row: 3
column: 5 column: 4
end_location: end_location:
row: 3 row: 3
column: 24 column: 23
fix: ~ fix: ~
- kind: - kind:
UnnecessarySubscriptReversal: sorted UnnecessarySubscriptReversal: sorted
location: location:
row: 4 row: 4
column: 5 column: 4
end_location: end_location:
row: 4 row: 4
column: 22 column: 21
fix: ~ fix: ~
- kind: - kind:
UnnecessarySubscriptReversal: sorted UnnecessarySubscriptReversal: sorted
location: location:
row: 5 row: 5
column: 5 column: 4
end_location: end_location:
row: 5 row: 5
column: 36 column: 35
fix: ~ fix: ~

View file

@ -6,18 +6,18 @@ expression: checks
UnnecessaryComprehension: list UnnecessaryComprehension: list
location: location:
row: 2 row: 2
column: 1 column: 0
end_location: end_location:
row: 2 row: 2
column: 15 column: 14
fix: ~ fix: ~
- kind: - kind:
UnnecessaryComprehension: set UnnecessaryComprehension: set
location: location:
row: 3 row: 3
column: 1 column: 0
end_location: end_location:
row: 3 row: 3
column: 15 column: 14
fix: ~ fix: ~

View file

@ -6,72 +6,72 @@ expression: checks
UnnecessaryMap: generator UnnecessaryMap: generator
location: location:
row: 2 row: 2
column: 1 column: 0
end_location: end_location:
row: 2 row: 2
column: 27 column: 26
fix: ~ fix: ~
- kind: - kind:
UnnecessaryMap: generator UnnecessaryMap: generator
location: location:
row: 3 row: 3
column: 1 column: 0
end_location: end_location:
row: 3 row: 3
column: 28 column: 27
fix: ~ fix: ~
- kind: - kind:
UnnecessaryMap: list UnnecessaryMap: list
location: location:
row: 4 row: 4
column: 1 column: 0
end_location:
row: 4
column: 33
fix: ~
- kind:
UnnecessaryMap: generator
location:
row: 4
column: 6
end_location: end_location:
row: 4 row: 4
column: 32 column: 32
fix: ~ fix: ~
- kind:
UnnecessaryMap: generator
location:
row: 4
column: 5
end_location:
row: 4
column: 31
fix: ~
- kind: - kind:
UnnecessaryMap: set UnnecessaryMap: set
location: location:
row: 5 row: 5
column: 1 column: 0
end_location: end_location:
row: 5 row: 5
column: 37 column: 36
fix: ~ fix: ~
- kind: - kind:
UnnecessaryMap: generator UnnecessaryMap: generator
location: location:
row: 5 row: 5
column: 5 column: 4
end_location: end_location:
row: 5 row: 5
column: 36 column: 35
fix: ~ fix: ~
- kind: - kind:
UnnecessaryMap: dict UnnecessaryMap: dict
location: location:
row: 6 row: 6
column: 1 column: 0
end_location: end_location:
row: 6 row: 6
column: 37 column: 36
fix: ~ fix: ~
- kind: - kind:
UnnecessaryMap: generator UnnecessaryMap: generator
location: location:
row: 6 row: 6
column: 6 column: 5
end_location: end_location:
row: 6 row: 6
column: 36 column: 35
fix: ~ fix: ~

View file

@ -5,9 +5,9 @@ expression: checks
- kind: PublicModule - kind: PublicModule
location: location:
row: 1 row: 1
column: 1 column: 0
end_location: end_location:
row: 1 row: 1
column: 1 column: 0
fix: ~ fix: ~

View file

@ -5,9 +5,9 @@ expression: checks
- kind: PublicClass - kind: PublicClass
location: location:
row: 14 row: 14
column: 1 column: 0
end_location: end_location:
row: 67 row: 67
column: 1 column: 0
fix: ~ fix: ~

View file

@ -5,25 +5,25 @@ expression: checks
- kind: PublicMethod - kind: PublicMethod
location: location:
row: 22 row: 22
column: 5 column: 4
end_location: end_location:
row: 25 row: 25
column: 5 column: 4
fix: ~ fix: ~
- kind: PublicMethod - kind: PublicMethod
location: location:
row: 51 row: 51
column: 5 column: 4
end_location: end_location:
row: 54 row: 54
column: 5 column: 4
fix: ~ fix: ~
- kind: PublicMethod - kind: PublicMethod
location: location:
row: 63 row: 63
column: 5 column: 4
end_location: end_location:
row: 67 row: 67
column: 1 column: 0
fix: ~ fix: ~

View file

@ -5,9 +5,9 @@ expression: checks
- kind: PublicFunction - kind: PublicFunction
location: location:
row: 395 row: 395
column: 1 column: 0
end_location: end_location:
row: 396 row: 396
column: 1 column: 0
fix: ~ fix: ~

View file

@ -5,9 +5,9 @@ expression: checks
- kind: MagicMethod - kind: MagicMethod
location: location:
row: 59 row: 59
column: 5 column: 4
end_location: end_location:
row: 62 row: 62
column: 5 column: 4
fix: ~ fix: ~

View file

@ -5,17 +5,17 @@ expression: checks
- kind: PublicInit - kind: PublicInit
location: location:
row: 55 row: 55
column: 5 column: 4
end_location: end_location:
row: 58 row: 58
column: 5 column: 4
fix: ~ fix: ~
- kind: PublicInit - kind: PublicInit
location: location:
row: 529 row: 529
column: 5 column: 4
end_location: end_location:
row: 533 row: 533
column: 1 column: 0
fix: ~ fix: ~

View file

@ -6,36 +6,36 @@ expression: checks
NoBlankLineBeforeFunction: 1 NoBlankLineBeforeFunction: 1
location: location:
row: 132 row: 132
column: 5 column: 4
end_location: end_location:
row: 132 row: 132
column: 25 column: 24
fix: fix:
patch: patch:
content: "" content: ""
location: location:
row: 131 row: 131
column: 1 column: 0
end_location: end_location:
row: 132 row: 132
column: 1 column: 0
applied: false applied: false
- kind: - kind:
NoBlankLineBeforeFunction: 1 NoBlankLineBeforeFunction: 1
location: location:
row: 146 row: 146
column: 5 column: 4
end_location: end_location:
row: 146 row: 146
column: 38 column: 37
fix: fix:
patch: patch:
content: "" content: ""
location: location:
row: 145 row: 145
column: 1 column: 0
end_location: end_location:
row: 146 row: 146
column: 1 column: 0
applied: false applied: false

View file

@ -6,36 +6,36 @@ expression: checks
NoBlankLineAfterFunction: 1 NoBlankLineAfterFunction: 1
location: location:
row: 137 row: 137
column: 5 column: 4
end_location: end_location:
row: 137 row: 137
column: 25 column: 24
fix: fix:
patch: patch:
content: "" content: ""
location: location:
row: 138 row: 138
column: 1 column: 0
end_location: end_location:
row: 139 row: 139
column: 1 column: 0
applied: false applied: false
- kind: - kind:
NoBlankLineAfterFunction: 1 NoBlankLineAfterFunction: 1
location: location:
row: 146 row: 146
column: 5 column: 4
end_location: end_location:
row: 146 row: 146
column: 38 column: 37
fix: fix:
patch: patch:
content: "" content: ""
location: location:
row: 147 row: 147
column: 1 column: 0
end_location: end_location:
row: 148 row: 148
column: 1 column: 0
applied: false applied: false

View file

@ -6,54 +6,54 @@ expression: checks
OneBlankLineBeforeClass: 0 OneBlankLineBeforeClass: 0
location: location:
row: 156 row: 156
column: 5 column: 4
end_location: end_location:
row: 156 row: 156
column: 33 column: 32
fix: fix:
patch: patch:
content: "\n" content: "\n"
location: location:
row: 156 row: 156
column: 1 column: 0
end_location: end_location:
row: 156 row: 156
column: 1 column: 0
applied: false applied: false
- kind: - kind:
OneBlankLineBeforeClass: 0 OneBlankLineBeforeClass: 0
location: location:
row: 187 row: 187
column: 5 column: 4
end_location: end_location:
row: 187 row: 187
column: 46 column: 45
fix: fix:
patch: patch:
content: "\n" content: "\n"
location: location:
row: 187 row: 187
column: 1 column: 0
end_location: end_location:
row: 187 row: 187
column: 1 column: 0
applied: false applied: false
- kind: - kind:
OneBlankLineBeforeClass: 0 OneBlankLineBeforeClass: 0
location: location:
row: 521 row: 521
column: 5 column: 4
end_location: end_location:
row: 527 row: 527
column: 8 column: 7
fix: fix:
patch: patch:
content: "\n" content: "\n"
location: location:
row: 521 row: 521
column: 1 column: 0
end_location: end_location:
row: 521 row: 521
column: 1 column: 0
applied: false applied: false

View file

@ -6,36 +6,36 @@ expression: checks
OneBlankLineAfterClass: 0 OneBlankLineAfterClass: 0
location: location:
row: 176 row: 176
column: 5 column: 4
end_location: end_location:
row: 176 row: 176
column: 25 column: 24
fix: fix:
patch: patch:
content: "\n" content: "\n"
location: location:
row: 177 row: 177
column: 1 column: 0
end_location: end_location:
row: 177 row: 177
column: 1 column: 0
applied: false applied: false
- kind: - kind:
OneBlankLineAfterClass: 0 OneBlankLineAfterClass: 0
location: location:
row: 187 row: 187
column: 5 column: 4
end_location: end_location:
row: 187 row: 187
column: 46 column: 45
fix: fix:
patch: patch:
content: "\n" content: "\n"
location: location:
row: 188 row: 188
column: 1 column: 0
end_location: end_location:
row: 188 row: 188
column: 1 column: 0
applied: false applied: false

View file

@ -5,35 +5,35 @@ expression: checks
- kind: BlankLineAfterSummary - kind: BlankLineAfterSummary
location: location:
row: 195 row: 195
column: 5 column: 4
end_location: end_location:
row: 198 row: 198
column: 8 column: 7
fix: fix:
patch: patch:
content: "\n" content: "\n"
location: location:
row: 196 row: 196
column: 1 column: 0
end_location: end_location:
row: 196 row: 196
column: 1 column: 0
applied: false applied: false
- kind: BlankLineAfterSummary - kind: BlankLineAfterSummary
location: location:
row: 205 row: 205
column: 5 column: 4
end_location: end_location:
row: 210 row: 210
column: 8 column: 7
fix: fix:
patch: patch:
content: "\n" content: "\n"
location: location:
row: 206 row: 206
column: 1 column: 0
end_location: end_location:
row: 208 row: 208
column: 1 column: 0
applied: false applied: false

View file

@ -5,35 +5,35 @@ expression: checks
- kind: NoUnderIndentation - kind: NoUnderIndentation
location: location:
row: 227 row: 227
column: 1 column: 0
end_location: end_location:
row: 227 row: 227
column: 1 column: 0
fix: fix:
patch: patch:
content: " " content: " "
location: location:
row: 227 row: 227
column: 1 column: 0
end_location: end_location:
row: 227 row: 227
column: 1 column: 0
applied: false applied: false
- kind: NoUnderIndentation - kind: NoUnderIndentation
location: location:
row: 435 row: 435
column: 1 column: 0
end_location: end_location:
row: 435 row: 435
column: 1 column: 0
fix: fix:
patch: patch:
content: " " content: " "
location: location:
row: 435 row: 435
column: 1 column: 0
end_location: end_location:
row: 435 row: 435
column: 5 column: 4
applied: false applied: false

View file

@ -5,52 +5,52 @@ expression: checks
- kind: NoOverIndentation - kind: NoOverIndentation
location: location:
row: 247 row: 247
column: 1 column: 0
end_location: end_location:
row: 247 row: 247
column: 1 column: 0
fix: fix:
patch: patch:
content: " " content: " "
location: location:
row: 247 row: 247
column: 1 column: 0
end_location: end_location:
row: 247 row: 247
column: 7
applied: false
- kind: NoOverIndentation
location:
row: 259
column: 0
end_location:
row: 259
column: 0
fix:
patch:
content: " "
location:
row: 259
column: 0
end_location:
row: 259
column: 8 column: 8
applied: false applied: false
- kind: NoOverIndentation
location:
row: 259
column: 1
end_location:
row: 259
column: 1
fix:
patch:
content: " "
location:
row: 259
column: 1
end_location:
row: 259
column: 9
applied: false
- kind: NoOverIndentation - kind: NoOverIndentation
location: location:
row: 267 row: 267
column: 1 column: 0
end_location: end_location:
row: 267 row: 267
column: 1 column: 0
fix: fix:
patch: patch:
content: " " content: " "
location: location:
row: 267 row: 267
column: 1 column: 0
end_location: end_location:
row: 267 row: 267
column: 9 column: 8
applied: false applied: false

View file

@ -5,18 +5,18 @@ expression: checks
- kind: NewLineAfterLastParagraph - kind: NewLineAfterLastParagraph
location: location:
row: 276 row: 276
column: 5 column: 4
end_location: end_location:
row: 278 row: 278
column: 20 column: 19
fix: fix:
patch: patch:
content: "\n " content: "\n "
location: location:
row: 278 row: 278
column: 17 column: 16
end_location: end_location:
row: 278 row: 278
column: 17 column: 16
applied: false applied: false

View file

@ -5,52 +5,52 @@ expression: checks
- kind: NoSurroundingWhitespace - kind: NoSurroundingWhitespace
location: location:
row: 283 row: 283
column: 5 column: 4
end_location: end_location:
row: 283 row: 283
column: 34 column: 33
fix: fix:
patch: patch:
content: Whitespace at the end. content: Whitespace at the end.
location: location:
row: 283 row: 283
column: 8 column: 7
end_location: end_location:
row: 283 row: 283
column: 31 column: 30
applied: false applied: false
- kind: NoSurroundingWhitespace - kind: NoSurroundingWhitespace
location: location:
row: 288 row: 288
column: 5 column: 4
end_location: end_location:
row: 288 row: 288
column: 38 column: 37
fix: fix:
patch: patch:
content: Whitespace at everywhere. content: Whitespace at everywhere.
location: location:
row: 288 row: 288
column: 8 column: 7
end_location: end_location:
row: 288 row: 288
column: 35 column: 34
applied: false applied: false
- kind: NoSurroundingWhitespace - kind: NoSurroundingWhitespace
location: location:
row: 294 row: 294
column: 5 column: 4
end_location: end_location:
row: 297 row: 297
column: 8 column: 7
fix: fix:
patch: patch:
content: Whitespace at the beginning. content: Whitespace at the beginning.
location: location:
row: 294 row: 294
column: 8 column: 7
end_location: end_location:
row: 294 row: 294
column: 37 column: 36
applied: false applied: false

View file

@ -6,36 +6,36 @@ expression: checks
NoBlankLineBeforeClass: 1 NoBlankLineBeforeClass: 1
location: location:
row: 165 row: 165
column: 5 column: 4
end_location: end_location:
row: 165 row: 165
column: 30 column: 29
fix: fix:
patch: patch:
content: "" content: ""
location: location:
row: 164 row: 164
column: 1 column: 0
end_location: end_location:
row: 165 row: 165
column: 1 column: 0
applied: false applied: false
- kind: - kind:
NoBlankLineBeforeClass: 1 NoBlankLineBeforeClass: 1
location: location:
row: 176 row: 176
column: 5 column: 4
end_location: end_location:
row: 176 row: 176
column: 25 column: 24
fix: fix:
patch: patch:
content: "" content: ""
location: location:
row: 175 row: 175
column: 1 column: 0
end_location: end_location:
row: 176 row: 176
column: 1 column: 0
applied: false applied: false

View file

@ -5,9 +5,9 @@ expression: checks
- kind: MultiLineSummaryFirstLine - kind: MultiLineSummaryFirstLine
location: location:
row: 124 row: 124
column: 5 column: 4
end_location: end_location:
row: 126 row: 126
column: 8 column: 7
fix: ~ fix: ~

View file

@ -5,129 +5,129 @@ expression: checks
- kind: MultiLineSummarySecondLine - kind: MultiLineSummarySecondLine
location: location:
row: 195 row: 195
column: 5 column: 4
end_location: end_location:
row: 198 row: 198
column: 8 column: 7
fix: ~ fix: ~
- kind: MultiLineSummarySecondLine - kind: MultiLineSummarySecondLine
location: location:
row: 205 row: 205
column: 5 column: 4
end_location: end_location:
row: 210 row: 210
column: 8 column: 7
fix: ~ fix: ~
- kind: MultiLineSummarySecondLine - kind: MultiLineSummarySecondLine
location: location:
row: 215 row: 215
column: 5 column: 4
end_location: end_location:
row: 219 row: 219
column: 8 column: 7
fix: ~ fix: ~
- kind: MultiLineSummarySecondLine - kind: MultiLineSummarySecondLine
location: location:
row: 225 row: 225
column: 5 column: 4
end_location: end_location:
row: 229 row: 229
column: 8 column: 7
fix: ~ fix: ~
- kind: MultiLineSummarySecondLine - kind: MultiLineSummarySecondLine
location: location:
row: 235 row: 235
column: 5 column: 4
end_location: end_location:
row: 239 row: 239
column: 4 column: 3
fix: ~ fix: ~
- kind: MultiLineSummarySecondLine - kind: MultiLineSummarySecondLine
location: location:
row: 245 row: 245
column: 5 column: 4
end_location: end_location:
row: 249 row: 249
column: 8 column: 7
fix: ~ fix: ~
- kind: MultiLineSummarySecondLine - kind: MultiLineSummarySecondLine
location: location:
row: 255 row: 255
column: 5 column: 4
end_location: end_location:
row: 259 row: 259
column: 12 column: 11
fix: ~ fix: ~
- kind: MultiLineSummarySecondLine - kind: MultiLineSummarySecondLine
location: location:
row: 265 row: 265
column: 5 column: 4
end_location: end_location:
row: 269 row: 269
column: 8 column: 7
fix: ~ fix: ~
- kind: MultiLineSummarySecondLine - kind: MultiLineSummarySecondLine
location: location:
row: 276 row: 276
column: 5 column: 4
end_location: end_location:
row: 278 row: 278
column: 20 column: 19
fix: ~ fix: ~
- kind: MultiLineSummarySecondLine - kind: MultiLineSummarySecondLine
location: location:
row: 294 row: 294
column: 5 column: 4
end_location: end_location:
row: 297 row: 297
column: 8 column: 7
fix: ~ fix: ~
- kind: MultiLineSummarySecondLine - kind: MultiLineSummarySecondLine
location: location:
row: 338 row: 338
column: 5 column: 4
end_location: end_location:
row: 343 row: 343
column: 8 column: 7
fix: ~ fix: ~
- kind: MultiLineSummarySecondLine - kind: MultiLineSummarySecondLine
location: location:
row: 378 row: 378
column: 5 column: 4
end_location: end_location:
row: 381 row: 381
column: 8 column: 7
fix: ~ fix: ~
- kind: MultiLineSummarySecondLine - kind: MultiLineSummarySecondLine
location: location:
row: 387 row: 387
column: 5 column: 4
end_location: end_location:
row: 391 row: 391
column: 8 column: 7
fix: ~ fix: ~
- kind: MultiLineSummarySecondLine - kind: MultiLineSummarySecondLine
location: location:
row: 433 row: 433
column: 37 column: 36
end_location: end_location:
row: 436 row: 436
column: 8 column: 7
fix: ~ fix: ~
- kind: MultiLineSummarySecondLine - kind: MultiLineSummarySecondLine
location: location:
row: 445 row: 445
column: 5 column: 4
end_location: end_location:
row: 449 row: 449
column: 8 column: 7
fix: ~ fix: ~
- kind: MultiLineSummarySecondLine - kind: MultiLineSummarySecondLine
location: location:
row: 521 row: 521
column: 5 column: 4
end_location: end_location:
row: 527 row: 527
column: 8 column: 7
fix: ~ fix: ~

View file

@ -6,18 +6,18 @@ expression: checks
SectionNotOverIndented: Returns SectionNotOverIndented: Returns
location: location:
row: 135 row: 135
column: 5 column: 4
end_location: end_location:
row: 141 row: 141
column: 8 column: 7
fix: fix:
patch: patch:
content: " " content: " "
location: location:
row: 137 row: 137
column: 1 column: 0
end_location: end_location:
row: 137 row: 137
column: 9 column: 8
applied: false applied: false

View file

@ -6,16 +6,16 @@ expression: checks
SectionUnderlineNotOverIndented: Returns SectionUnderlineNotOverIndented: Returns
location: location:
row: 147 row: 147
column: 5 column: 4
end_location: end_location:
row: 153 row: 153
column: 8 column: 7
fix: fix:
patch: patch:
content: " " content: " "
location: location:
row: 150 row: 150
column: 1 column: 0
end_location: end_location:
row: 150 row: 150
column: 9 column: 9
@ -24,16 +24,16 @@ expression: checks
SectionUnderlineNotOverIndented: Returns SectionUnderlineNotOverIndented: Returns
location: location:
row: 161 row: 161
column: 5 column: 4
end_location: end_location:
row: 165 row: 165
column: 8 column: 7
fix: fix:
patch: patch:
content: " " content: " "
location: location:
row: 164 row: 164
column: 1 column: 0
end_location: end_location:
row: 164 row: 164
column: 9 column: 9

View file

@ -5,41 +5,41 @@ expression: checks
- kind: UsesTripleQuotes - kind: UsesTripleQuotes
location: location:
row: 302 row: 302
column: 5 column: 4
end_location: end_location:
row: 302 row: 302
column: 20 column: 19
fix: ~ fix: ~
- kind: UsesTripleQuotes - kind: UsesTripleQuotes
location: location:
row: 307 row: 307
column: 5 column: 4
end_location: end_location:
row: 307 row: 307
column: 20 column: 19
fix: ~ fix: ~
- kind: UsesTripleQuotes - kind: UsesTripleQuotes
location: location:
row: 312 row: 312
column: 5 column: 4
end_location: end_location:
row: 312 row: 312
column: 16 column: 15
fix: ~ fix: ~
- kind: UsesTripleQuotes - kind: UsesTripleQuotes
location: location:
row: 317 row: 317
column: 5 column: 4
end_location: end_location:
row: 317 row: 317
column: 16 column: 15
fix: ~ fix: ~
- kind: UsesTripleQuotes - kind: UsesTripleQuotes
location: location:
row: 323 row: 323
column: 5 column: 4
end_location: end_location:
row: 323 row: 323
column: 17 column: 16
fix: ~ fix: ~

View file

@ -5,129 +5,129 @@ expression: checks
- kind: EndsInPeriod - kind: EndsInPeriod
location: location:
row: 124 row: 124
column: 5 column: 4
end_location: end_location:
row: 126 row: 126
column: 8 column: 7
fix: ~ fix: ~
- kind: EndsInPeriod - kind: EndsInPeriod
location: location:
row: 283 row: 283
column: 5 column: 4
end_location: end_location:
row: 283 row: 283
column: 34
fix: ~
- kind: EndsInPeriod
location:
row: 288
column: 5
end_location:
row: 288
column: 38
fix: ~
- kind: EndsInPeriod
location:
row: 350
column: 5
end_location:
row: 350
column: 18
fix: ~
- kind: EndsInPeriod
location:
row: 401
column: 25
end_location:
row: 401
column: 40
fix: ~
- kind: EndsInPeriod
location:
row: 405
column: 5
end_location:
row: 405
column: 25
fix: ~
- kind: EndsInPeriod
location:
row: 411
column: 5
end_location:
row: 411
column: 25
fix: ~
- kind: EndsInPeriod
location:
row: 417
column: 35
end_location:
row: 417
column: 50
fix: ~
- kind: EndsInPeriod
location:
row: 424
column: 49
end_location:
row: 424
column: 64
fix: ~
- kind: EndsInPeriod
location:
row: 465
column: 5
end_location:
row: 465
column: 25
fix: ~
- kind: EndsInPeriod
location:
row: 470
column: 5
end_location:
row: 470
column: 25
fix: ~
- kind: EndsInPeriod
location:
row: 475
column: 5
end_location:
row: 475
column: 25
fix: ~
- kind: EndsInPeriod
location:
row: 482
column: 5
end_location:
row: 482
column: 25
fix: ~
- kind: EndsInPeriod
location:
row: 504
column: 5
end_location:
row: 504
column: 35
fix: ~
- kind: EndsInPeriod
location:
row: 509
column: 5
end_location:
row: 509
column: 34
fix: ~
- kind: EndsInPeriod
location:
row: 515
column: 5
end_location:
row: 515
column: 33 column: 33
fix: ~ fix: ~
- kind: EndsInPeriod
location:
row: 288
column: 4
end_location:
row: 288
column: 37
fix: ~
- kind: EndsInPeriod
location:
row: 350
column: 4
end_location:
row: 350
column: 17
fix: ~
- kind: EndsInPeriod
location:
row: 401
column: 24
end_location:
row: 401
column: 39
fix: ~
- kind: EndsInPeriod
location:
row: 405
column: 4
end_location:
row: 405
column: 24
fix: ~
- kind: EndsInPeriod
location:
row: 411
column: 4
end_location:
row: 411
column: 24
fix: ~
- kind: EndsInPeriod
location:
row: 417
column: 34
end_location:
row: 417
column: 49
fix: ~
- kind: EndsInPeriod
location:
row: 424
column: 48
end_location:
row: 424
column: 63
fix: ~
- kind: EndsInPeriod
location:
row: 465
column: 4
end_location:
row: 465
column: 24
fix: ~
- kind: EndsInPeriod
location:
row: 470
column: 4
end_location:
row: 470
column: 24
fix: ~
- kind: EndsInPeriod
location:
row: 475
column: 4
end_location:
row: 475
column: 24
fix: ~
- kind: EndsInPeriod
location:
row: 482
column: 4
end_location:
row: 482
column: 24
fix: ~
- kind: EndsInPeriod
location:
row: 504
column: 4
end_location:
row: 504
column: 34
fix: ~
- kind: EndsInPeriod
location:
row: 509
column: 4
end_location:
row: 509
column: 33
fix: ~
- kind: EndsInPeriod
location:
row: 515
column: 4
end_location:
row: 515
column: 32
fix: ~

View file

@ -5,9 +5,9 @@ expression: checks
- kind: NoSignature - kind: NoSignature
location: location:
row: 373 row: 373
column: 5 column: 4
end_location: end_location:
row: 373 row: 373
column: 31 column: 30
fix: ~ fix: ~

View file

@ -6,36 +6,36 @@ expression: checks
CapitalizeSectionName: returns CapitalizeSectionName: returns
location: location:
row: 17 row: 17
column: 5 column: 4
end_location: end_location:
row: 23 row: 23
column: 8 column: 7
fix: fix:
patch: patch:
content: Returns content: Returns
location: location:
row: 19 row: 19
column: 5 column: 4
end_location: end_location:
row: 19 row: 19
column: 12 column: 11
applied: false applied: false
- kind: - kind:
CapitalizeSectionName: Short summary CapitalizeSectionName: Short summary
location: location:
row: 207 row: 207
column: 5 column: 4
end_location: end_location:
row: 221 row: 221
column: 8 column: 7
fix: fix:
patch: patch:
content: Short Summary content: Short Summary
location: location:
row: 209 row: 209
column: 5 column: 4
end_location: end_location:
row: 209 row: 209
column: 18 column: 17
applied: false applied: false

View file

@ -6,72 +6,72 @@ expression: checks
NewLineAfterSectionName: Returns NewLineAfterSectionName: Returns
location: location:
row: 30 row: 30
column: 5 column: 4
end_location: end_location:
row: 36 row: 36
column: 8 column: 7
fix: fix:
patch: patch:
content: "" content: ""
location: location:
row: 32 row: 32
column: 12 column: 11
end_location: end_location:
row: 32 row: 32
column: 13 column: 12
applied: false applied: false
- kind: - kind:
NewLineAfterSectionName: Raises NewLineAfterSectionName: Raises
location: location:
row: 207 row: 207
column: 5 column: 4
end_location: end_location:
row: 221 row: 221
column: 8 column: 7
fix: fix:
patch: patch:
content: "" content: ""
location: location:
row: 218 row: 218
column: 11 column: 10
end_location: end_location:
row: 218 row: 218
column: 12 column: 11
applied: false applied: false
- kind: - kind:
NewLineAfterSectionName: Returns NewLineAfterSectionName: Returns
location: location:
row: 252 row: 252
column: 5 column: 4
end_location: end_location:
row: 262 row: 262
column: 8 column: 7
fix: fix:
patch: patch:
content: "" content: ""
location: location:
row: 257 row: 257
column: 12 column: 11
end_location: end_location:
row: 257 row: 257
column: 13 column: 12
applied: false applied: false
- kind: - kind:
NewLineAfterSectionName: Raises NewLineAfterSectionName: Raises
location: location:
row: 252 row: 252
column: 5 column: 4
end_location: end_location:
row: 262 row: 262
column: 8 column: 7
fix: fix:
patch: patch:
content: "" content: ""
location: location:
row: 259 row: 259
column: 11 column: 10
end_location: end_location:
row: 259 row: 259
column: 12 column: 11
applied: false applied: false

View file

@ -6,270 +6,270 @@ expression: checks
DashedUnderlineAfterSection: Returns DashedUnderlineAfterSection: Returns
location: location:
row: 42 row: 42
column: 5 column: 4
end_location: end_location:
row: 47 row: 47
column: 8 column: 7
fix: fix:
patch: patch:
content: " -------\n" content: " -------\n"
location: location:
row: 45 row: 45
column: 1 column: 0
end_location: end_location:
row: 45 row: 45
column: 1 column: 0
applied: false applied: false
- kind: - kind:
DashedUnderlineAfterSection: Returns DashedUnderlineAfterSection: Returns
location: location:
row: 54 row: 54
column: 5 column: 4
end_location: end_location:
row: 58 row: 58
column: 8 column: 7
fix: fix:
patch: patch:
content: " -------\n" content: " -------\n"
location: location:
row: 57 row: 57
column: 1 column: 0
end_location: end_location:
row: 57 row: 57
column: 1 column: 0
applied: false applied: false
- kind: - kind:
DashedUnderlineAfterSection: Raises DashedUnderlineAfterSection: Raises
location: location:
row: 207 row: 207
column: 5 column: 4
end_location: end_location:
row: 221 row: 221
column: 8 column: 7
fix: fix:
patch: patch:
content: " ------\n" content: " ------\n"
location: location:
row: 219 row: 219
column: 1 column: 0
end_location: end_location:
row: 219 row: 219
column: 1 column: 0
applied: false applied: false
- kind: - kind:
DashedUnderlineAfterSection: Returns DashedUnderlineAfterSection: Returns
location: location:
row: 252 row: 252
column: 5 column: 4
end_location: end_location:
row: 262 row: 262
column: 8 column: 7
fix: fix:
patch: patch:
content: " -------\n" content: " -------\n"
location: location:
row: 258 row: 258
column: 1 column: 0
end_location: end_location:
row: 258 row: 258
column: 1 column: 0
applied: false applied: false
- kind: - kind:
DashedUnderlineAfterSection: Raises DashedUnderlineAfterSection: Raises
location: location:
row: 252 row: 252
column: 5 column: 4
end_location: end_location:
row: 262 row: 262
column: 8 column: 7
fix: fix:
patch: patch:
content: " ------\n" content: " ------\n"
location: location:
row: 260 row: 260
column: 1 column: 0
end_location: end_location:
row: 260 row: 260
column: 1 column: 0
applied: false applied: false
- kind: - kind:
DashedUnderlineAfterSection: Args DashedUnderlineAfterSection: Args
location: location:
row: 269 row: 269
column: 5 column: 4
end_location: end_location:
row: 274 row: 274
column: 8 column: 7
fix: fix:
patch: patch:
content: " ----\n" content: " ----\n"
location: location:
row: 272 row: 272
column: 1 column: 0
end_location: end_location:
row: 272 row: 272
column: 1 column: 0
applied: false applied: false
- kind: - kind:
DashedUnderlineAfterSection: Args DashedUnderlineAfterSection: Args
location: location:
row: 284 row: 284
column: 9 column: 8
end_location: end_location:
row: 292 row: 292
column: 12 column: 11
fix: fix:
patch: patch:
content: " ----\n" content: " ----\n"
location: location:
row: 289 row: 289
column: 1 column: 0
end_location: end_location:
row: 289 row: 289
column: 1 column: 0
applied: false applied: false
- kind: - kind:
DashedUnderlineAfterSection: Args DashedUnderlineAfterSection: Args
location: location:
row: 301 row: 301
column: 5 column: 4
end_location: end_location:
row: 306 row: 306
column: 8 column: 7
fix: fix:
patch: patch:
content: " ----\n" content: " ----\n"
location: location:
row: 304 row: 304
column: 1 column: 0
end_location: end_location:
row: 304 row: 304
column: 1 column: 0
applied: false applied: false
- kind: - kind:
DashedUnderlineAfterSection: Args DashedUnderlineAfterSection: Args
location: location:
row: 313 row: 313
column: 9 column: 8
end_location: end_location:
row: 319 row: 319
column: 12 column: 11
fix: fix:
patch: patch:
content: " ----\n" content: " ----\n"
location: location:
row: 316 row: 316
column: 1 column: 0
end_location: end_location:
row: 316 row: 316
column: 1 column: 0
applied: false applied: false
- kind: - kind:
DashedUnderlineAfterSection: Args DashedUnderlineAfterSection: Args
location: location:
row: 325 row: 325
column: 9 column: 8
end_location: end_location:
row: 330 row: 330
column: 12 column: 11
fix: fix:
patch: patch:
content: " ----\n" content: " ----\n"
location: location:
row: 328 row: 328
column: 1 column: 0
end_location: end_location:
row: 328 row: 328
column: 1 column: 0
applied: false applied: false
- kind: - kind:
DashedUnderlineAfterSection: Args DashedUnderlineAfterSection: Args
location: location:
row: 337 row: 337
column: 9 column: 8
end_location: end_location:
row: 343 row: 343
column: 12 column: 11
fix: fix:
patch: patch:
content: " ----\n" content: " ----\n"
location: location:
row: 340 row: 340
column: 1 column: 0
end_location: end_location:
row: 340 row: 340
column: 1 column: 0
applied: false applied: false
- kind: - kind:
DashedUnderlineAfterSection: Args DashedUnderlineAfterSection: Args
location: location:
row: 350 row: 350
column: 9 column: 8
end_location: end_location:
row: 355 row: 355
column: 12 column: 11
fix: fix:
patch: patch:
content: " ----\n" content: " ----\n"
location: location:
row: 353 row: 353
column: 1 column: 0
end_location: end_location:
row: 353 row: 353
column: 1 column: 0
applied: false applied: false
- kind: - kind:
DashedUnderlineAfterSection: Args DashedUnderlineAfterSection: Args
location: location:
row: 362 row: 362
column: 9 column: 8
end_location: end_location:
row: 367 row: 367
column: 12 column: 11
fix: fix:
patch: patch:
content: " ----\n" content: " ----\n"
location: location:
row: 365 row: 365
column: 1 column: 0
end_location: end_location:
row: 365 row: 365
column: 1 column: 0
applied: false applied: false
- kind: - kind:
DashedUnderlineAfterSection: Args DashedUnderlineAfterSection: Args
location: location:
row: 371 row: 371
column: 9 column: 8
end_location: end_location:
row: 382 row: 382
column: 12 column: 11
fix: fix:
patch: patch:
content: " ----\n" content: " ----\n"
location: location:
row: 374 row: 374
column: 1 column: 0
end_location: end_location:
row: 374 row: 374
column: 1 column: 0
applied: false applied: false
- kind: - kind:
DashedUnderlineAfterSection: Args DashedUnderlineAfterSection: Args
location: location:
row: 490 row: 490
column: 9 column: 8
end_location: end_location:
row: 497 row: 497
column: 12 column: 11
fix: fix:
patch: patch:
content: " ----\n" content: " ----\n"
location: location:
row: 495 row: 495
column: 1 column: 0
end_location: end_location:
row: 495 row: 495
column: 1 column: 0
applied: false applied: false

View file

@ -6,18 +6,18 @@ expression: checks
SectionUnderlineAfterName: Returns SectionUnderlineAfterName: Returns
location: location:
row: 85 row: 85
column: 5 column: 4
end_location: end_location:
row: 92 row: 92
column: 8 column: 7
fix: fix:
patch: patch:
content: "" content: ""
location: location:
row: 88 row: 88
column: 1 column: 0
end_location: end_location:
row: 89 row: 89
column: 1 column: 0
applied: false applied: false

View file

@ -6,36 +6,36 @@ expression: checks
SectionUnderlineMatchesSectionLength: Returns SectionUnderlineMatchesSectionLength: Returns
location: location:
row: 99 row: 99
column: 5 column: 4
end_location: end_location:
row: 105 row: 105
column: 8 column: 7
fix: fix:
patch: patch:
content: " -------\n" content: " -------\n"
location: location:
row: 102 row: 102
column: 1 column: 0
end_location: end_location:
row: 103 row: 103
column: 1 column: 0
applied: false applied: false
- kind: - kind:
SectionUnderlineMatchesSectionLength: Returns SectionUnderlineMatchesSectionLength: Returns
location: location:
row: 207 row: 207
column: 5 column: 4
end_location: end_location:
row: 221 row: 221
column: 8 column: 7
fix: fix:
patch: patch:
content: " -------\n" content: " -------\n"
location: location:
row: 216 row: 216
column: 1 column: 0
end_location: end_location:
row: 217 row: 217
column: 1 column: 0
applied: false applied: false

View file

@ -6,36 +6,36 @@ expression: checks
BlankLineAfterSection: Returns BlankLineAfterSection: Returns
location: location:
row: 67 row: 67
column: 5 column: 4
end_location: end_location:
row: 78 row: 78
column: 8 column: 7
fix: fix:
patch: patch:
content: "\n" content: "\n"
location: location:
row: 71 row: 71
column: 1 column: 0
end_location: end_location:
row: 71 row: 71
column: 1 column: 0
applied: false applied: false
- kind: - kind:
BlankLineAfterSection: Returns BlankLineAfterSection: Returns
location: location:
row: 207 row: 207
column: 5 column: 4
end_location: end_location:
row: 221 row: 221
column: 8 column: 7
fix: fix:
patch: patch:
content: "\n" content: "\n"
location: location:
row: 218 row: 218
column: 1 column: 0
end_location: end_location:
row: 218 row: 218
column: 1 column: 0
applied: false applied: false

View file

@ -6,54 +6,54 @@ expression: checks
BlankLineBeforeSection: Yields BlankLineBeforeSection: Yields
location: location:
row: 67 row: 67
column: 5 column: 4
end_location: end_location:
row: 78 row: 78
column: 8 column: 7
fix: fix:
patch: patch:
content: "\n" content: "\n"
location: location:
row: 71 row: 71
column: 1 column: 0
end_location: end_location:
row: 71 row: 71
column: 1 column: 0
applied: false applied: false
- kind: - kind:
BlankLineBeforeSection: Returns BlankLineBeforeSection: Returns
location: location:
row: 122 row: 122
column: 5 column: 4
end_location: end_location:
row: 129 row: 129
column: 8 column: 7
fix: fix:
patch: patch:
content: "\n" content: "\n"
location: location:
row: 125 row: 125
column: 1 column: 0
end_location: end_location:
row: 125 row: 125
column: 1 column: 0
applied: false applied: false
- kind: - kind:
BlankLineBeforeSection: Raises BlankLineBeforeSection: Raises
location: location:
row: 207 row: 207
column: 5 column: 4
end_location: end_location:
row: 221 row: 221
column: 8 column: 7
fix: fix:
patch: patch:
content: "\n" content: "\n"
location: location:
row: 218 row: 218
column: 1 column: 0
end_location: end_location:
row: 218 row: 218
column: 1 column: 0
applied: false applied: false

View file

@ -6,18 +6,18 @@ expression: checks
NoBlankLinesBetweenHeaderAndContent: Short summary NoBlankLinesBetweenHeaderAndContent: Short summary
location: location:
row: 207 row: 207
column: 5 column: 4
end_location: end_location:
row: 221 row: 221
column: 8 column: 7
fix: fix:
patch: patch:
content: "" content: ""
location: location:
row: 211 row: 211
column: 1 column: 0
end_location: end_location:
row: 212 row: 212
column: 1 column: 0
applied: false applied: false

View file

@ -6,45 +6,45 @@ expression: checks
NonEmptySection: Returns NonEmptySection: Returns
location: location:
row: 54 row: 54
column: 5 column: 4
end_location: end_location:
row: 58 row: 58
column: 8 column: 7
fix: ~ fix: ~
- kind: - kind:
NonEmptySection: Returns NonEmptySection: Returns
location: location:
row: 67 row: 67
column: 5 column: 4
end_location: end_location:
row: 78 row: 78
column: 8 column: 7
fix: ~ fix: ~
- kind: - kind:
NonEmptySection: Yields NonEmptySection: Yields
location: location:
row: 67 row: 67
column: 5 column: 4
end_location: end_location:
row: 78 row: 78
column: 8 column: 7
fix: ~ fix: ~
- kind: - kind:
NonEmptySection: Returns NonEmptySection: Returns
location: location:
row: 161 row: 161
column: 5 column: 4
end_location: end_location:
row: 165 row: 165
column: 8 column: 7
fix: ~ fix: ~
- kind: - kind:
NonEmptySection: Returns NonEmptySection: Returns
location: location:
row: 252 row: 252
column: 5 column: 4
end_location: end_location:
row: 262 row: 262
column: 8 column: 7
fix: ~ fix: ~

View file

@ -5,121 +5,121 @@ expression: checks
- kind: EndsInPunctuation - kind: EndsInPunctuation
location: location:
row: 124 row: 124
column: 5 column: 4
end_location: end_location:
row: 126 row: 126
column: 8 column: 7
fix: ~ fix: ~
- kind: EndsInPunctuation - kind: EndsInPunctuation
location: location:
row: 283 row: 283
column: 5 column: 4
end_location: end_location:
row: 283 row: 283
column: 33
fix: ~
- kind: EndsInPunctuation
location:
row: 288
column: 4
end_location:
row: 288
column: 37
fix: ~
- kind: EndsInPunctuation
location:
row: 350
column: 4
end_location:
row: 350
column: 17
fix: ~
- kind: EndsInPunctuation
location:
row: 401
column: 24
end_location:
row: 401
column: 39
fix: ~
- kind: EndsInPunctuation
location:
row: 405
column: 4
end_location:
row: 405
column: 24
fix: ~
- kind: EndsInPunctuation
location:
row: 411
column: 4
end_location:
row: 411
column: 24
fix: ~
- kind: EndsInPunctuation
location:
row: 417
column: 34
end_location:
row: 417
column: 49
fix: ~
- kind: EndsInPunctuation
location:
row: 424
column: 48
end_location:
row: 424
column: 63
fix: ~
- kind: EndsInPunctuation
location:
row: 465
column: 4
end_location:
row: 465
column: 24
fix: ~
- kind: EndsInPunctuation
location:
row: 470
column: 4
end_location:
row: 470
column: 24
fix: ~
- kind: EndsInPunctuation
location:
row: 475
column: 4
end_location:
row: 475
column: 24
fix: ~
- kind: EndsInPunctuation
location:
row: 482
column: 4
end_location:
row: 482
column: 24
fix: ~
- kind: EndsInPunctuation
location:
row: 504
column: 4
end_location:
row: 504
column: 34 column: 34
fix: ~ fix: ~
- kind: EndsInPunctuation
location:
row: 288
column: 5
end_location:
row: 288
column: 38
fix: ~
- kind: EndsInPunctuation
location:
row: 350
column: 5
end_location:
row: 350
column: 18
fix: ~
- kind: EndsInPunctuation
location:
row: 401
column: 25
end_location:
row: 401
column: 40
fix: ~
- kind: EndsInPunctuation
location:
row: 405
column: 5
end_location:
row: 405
column: 25
fix: ~
- kind: EndsInPunctuation
location:
row: 411
column: 5
end_location:
row: 411
column: 25
fix: ~
- kind: EndsInPunctuation
location:
row: 417
column: 35
end_location:
row: 417
column: 50
fix: ~
- kind: EndsInPunctuation
location:
row: 424
column: 49
end_location:
row: 424
column: 64
fix: ~
- kind: EndsInPunctuation
location:
row: 465
column: 5
end_location:
row: 465
column: 25
fix: ~
- kind: EndsInPunctuation
location:
row: 470
column: 5
end_location:
row: 470
column: 25
fix: ~
- kind: EndsInPunctuation
location:
row: 475
column: 5
end_location:
row: 475
column: 25
fix: ~
- kind: EndsInPunctuation
location:
row: 482
column: 5
end_location:
row: 482
column: 25
fix: ~
- kind: EndsInPunctuation
location:
row: 504
column: 5
end_location:
row: 504
column: 35
fix: ~
- kind: EndsInPunctuation - kind: EndsInPunctuation
location: location:
row: 515 row: 515
column: 5 column: 4
end_location: end_location:
row: 515 row: 515
column: 33 column: 32
fix: ~ fix: ~

View file

@ -7,20 +7,20 @@ expression: checks
- y - y
location: location:
row: 283 row: 283
column: 5 column: 4
end_location: end_location:
row: 296 row: 296
column: 1 column: 0
fix: ~ fix: ~
- kind: - kind:
DocumentAllArguments: DocumentAllArguments:
- y - y
location: location:
row: 300 row: 300
column: 1 column: 0
end_location: end_location:
row: 309 row: 309
column: 1 column: 0
fix: ~ fix: ~
- kind: - kind:
DocumentAllArguments: DocumentAllArguments:
@ -29,10 +29,10 @@ expression: checks
- z - z
location: location:
row: 324 row: 324
column: 5 column: 4
end_location: end_location:
row: 332 row: 332
column: 5 column: 4
fix: ~ fix: ~
- kind: - kind:
DocumentAllArguments: DocumentAllArguments:
@ -41,10 +41,10 @@ expression: checks
- z - z
location: location:
row: 336 row: 336
column: 5 column: 4
end_location: end_location:
row: 345 row: 345
column: 5 column: 4
fix: ~ fix: ~
- kind: - kind:
DocumentAllArguments: DocumentAllArguments:
@ -53,10 +53,10 @@ expression: checks
- z - z
location: location:
row: 349 row: 349
column: 5 column: 4
end_location: end_location:
row: 357 row: 357
column: 5 column: 4
fix: ~ fix: ~
- kind: - kind:
DocumentAllArguments: DocumentAllArguments:
@ -64,20 +64,20 @@ expression: checks
- b - b
location: location:
row: 361 row: 361
column: 5 column: 4
end_location: end_location:
row: 369 row: 369
column: 5 column: 4
fix: ~ fix: ~
- kind: - kind:
DocumentAllArguments: DocumentAllArguments:
- y - y
location: location:
row: 389 row: 389
column: 1 column: 0
end_location: end_location:
row: 401 row: 401
column: 1 column: 0
fix: ~ fix: ~
- kind: - kind:
DocumentAllArguments: DocumentAllArguments:
@ -86,10 +86,10 @@ expression: checks
- z - z
location: location:
row: 425 row: 425
column: 5 column: 4
end_location: end_location:
row: 436 row: 436
column: 5 column: 4
fix: ~ fix: ~
- kind: - kind:
DocumentAllArguments: DocumentAllArguments:
@ -98,10 +98,10 @@ expression: checks
- z - z
location: location:
row: 440 row: 440
column: 5 column: 4
end_location: end_location:
row: 455 row: 455
column: 5 column: 4
fix: ~ fix: ~
- kind: - kind:
DocumentAllArguments: DocumentAllArguments:
@ -109,19 +109,19 @@ expression: checks
- z - z
location: location:
row: 459 row: 459
column: 5 column: 4
end_location: end_location:
row: 471 row: 471
column: 5 column: 4
fix: ~ fix: ~
- kind: - kind:
DocumentAllArguments: DocumentAllArguments:
- y - y
location: location:
row: 489 row: 489
column: 5 column: 4
end_location: end_location:
row: 498 row: 498
column: 1 column: 0
fix: ~ fix: ~

View file

@ -5,25 +5,25 @@ expression: checks
- kind: SkipDocstring - kind: SkipDocstring
location: location:
row: 33 row: 33
column: 5 column: 4
end_location: end_location:
row: 37 row: 37
column: 5 column: 4
fix: ~ fix: ~
- kind: SkipDocstring - kind: SkipDocstring
location: location:
row: 85 row: 85
column: 5 column: 4
end_location: end_location:
row: 89 row: 89
column: 5 column: 4
fix: ~ fix: ~
- kind: SkipDocstring - kind: SkipDocstring
location: location:
row: 105 row: 105
column: 1 column: 0
end_location: end_location:
row: 110 row: 110
column: 1 column: 0
fix: ~ fix: ~

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