Skip to content

Commit

Permalink
Auto add snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerJang27 authored and github-actions[bot] committed May 3, 2024
1 parent 6ec7bf3 commit ef883a7
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions linters/flake8/test_data/flake8_v7.0.0_basic.check.shot
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": [],
}
`;

0 comments on commit ef883a7

Please sign in to comment.