Skip to content

Commit

Permalink
Update sourcery snapshots (#499)
Browse files Browse the repository at this point in the history
New release yesterday. Just removes a diagnostic.
  • Loading branch information
TylerJang27 authored Oct 4, 2023
1 parent 428b87f commit f5dcd5b
Showing 1 changed file with 63 additions and 0 deletions.
63 changes: 63 additions & 0 deletions linters/sourcery/test_data/sourcery_v1.10.1_basic.check.shot
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// trunk-upgrade-validation:RELEASE

exports[`Testing linter sourcery test basic 1`] = `
{
"issues": [
{
"code": "replace-interpolation-with-fstring",
"column": "1",
"file": "test_data/basic.in.py",
"issueUrl": "https://docs.sourcery.ai/Reference/Python/Default-Rules/replace-interpolation-with-fstring",
"level": "LEVEL_HIGH",
"line": "4",
"linter": "sourcery",
"message": "Replace interpolated string formatting with f-string",
"targetType": "python",
},
{
"code": "raise-from-previous-error",
"column": "1",
"file": "test_data/basic.in.py",
"issueUrl": "https://docs.sourcery.ai/Reference/Python/Default-Rules/raise-from-previous-error",
"level": "LEVEL_HIGH",
"line": "7",
"linter": "sourcery",
"message": "Explicitly raise from a previous error",
"targetType": "python",
},
],
"lintActions": [
{
"command": "fix",
"fileGroupName": "python",
"linter": "sourcery",
"paths": [
"test_data/basic.in.py",
],
"verb": "TRUNK_VERB_CHECK",
},
{
"command": "lint",
"fileGroupName": "python",
"linter": "sourcery",
"paths": [
"test_data/basic.in.py",
],
"verb": "TRUNK_VERB_CHECK",
},
],
"taskFailures": [],
"unformattedFiles": [
{
"column": "1",
"file": "test_data/basic.in.py",
"issueClass": "ISSUE_CLASS_UNFORMATTED",
"level": "LEVEL_HIGH",
"line": "1",
"linter": "sourcery",
"message": "Incorrect formatting, autoformat by running 'trunk fmt'",
},
],
}
`;

0 comments on commit f5dcd5b

Please sign in to comment.