-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New release yesterday. Just removes a diagnostic.
- Loading branch information
1 parent
428b87f
commit f5dcd5b
Showing
1 changed file
with
63 additions
and
0 deletions.
There are no files selected for viewing
63 changes: 63 additions & 0 deletions
63
linters/sourcery/test_data/sourcery_v1.10.1_basic.check.shot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'", | ||
}, | ||
], | ||
} | ||
`; |