-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ec7bf3
commit ef883a7
Showing
1 changed file
with
68 additions
and
0 deletions.
There are no files selected for viewing
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,68 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
// trunk-upgrade-validation:RELEASE | ||
|
||
exports[`Testing linter flake8 test basic 1`] = ` | ||
{ | ||
"issues": [ | ||
{ | ||
"code": "E402", | ||
"column": "1", | ||
"file": "test_data/basic.in.py", | ||
"issueClass": "ISSUE_CLASS_EXISTING", | ||
"issueUrl": "https://flake8.pycqa.org/en/latest/user/error-codes.html", | ||
"level": "LEVEL_HIGH", | ||
"line": "7", | ||
"linter": "flake8", | ||
"message": "module level import not at top of file", | ||
"targetType": "python", | ||
}, | ||
{ | ||
"code": "F401", | ||
"column": "1", | ||
"file": "test_data/basic.in.py", | ||
"issueClass": "ISSUE_CLASS_EXISTING", | ||
"issueUrl": "https://flake8.pycqa.org/en/latest/user/error-codes.html", | ||
"level": "LEVEL_HIGH", | ||
"line": "7", | ||
"linter": "flake8", | ||
"message": "'sys' imported but unused", | ||
"targetType": "python", | ||
}, | ||
{ | ||
"belowThreshold": true, | ||
"code": "ignore-does-nothing", | ||
"column": "3", | ||
"file": "test_data/basic.in.py", | ||
"issueClass": "ISSUE_CLASS_EXISTING", | ||
"level": "LEVEL_NOTE", | ||
"line": "9", | ||
"linter": "trunk", | ||
"message": "trunk-ignore(flake8/F401) is not suppressing a lint issue", | ||
"targetType": "ALL", | ||
}, | ||
], | ||
"lintActions": [ | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "python", | ||
"linter": "flake8", | ||
"paths": [ | ||
"test_data/basic.in.py", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "python", | ||
"linter": "flake8", | ||
"paths": [ | ||
"test_data/basic.in.py", | ||
], | ||
"upstream": true, | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
], | ||
"taskFailures": [], | ||
"unformattedFiles": [], | ||
} | ||
`; |