-
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.
Update codespell and trufflehog snapshots (#497)
New releases of each that each differ by 1 diagnostic from the previous. Existing snapshot tests are fine
- Loading branch information
1 parent
1427b1f
commit 428b87f
Showing
5 changed files
with
517 additions
and
0 deletions.
There are no files selected for viewing
175 changes: 175 additions & 0 deletions
175
linters/codespell/test_data/codespell_v2.2.6_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,175 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
// trunk-upgrade-validation:RELEASE | ||
|
||
exports[`Testing linter codespell test basic 1`] = ` | ||
{ | ||
"issues": [ | ||
{ | ||
"code": "misspelled", | ||
"file": "codespell.test.ts", | ||
"level": "LEVEL_HIGH", | ||
"line": "7", | ||
"linter": "codespell", | ||
"message": "callbak ==> callback", | ||
"targetType": "ALL", | ||
}, | ||
{ | ||
"code": "misspelled", | ||
"file": "codespell.test.ts", | ||
"level": "LEVEL_HIGH", | ||
"line": "7", | ||
"linter": "codespell", | ||
"message": "realy ==> really, relay", | ||
"targetType": "ALL", | ||
}, | ||
{ | ||
"code": "misspelled", | ||
"file": "test_data/basic_md.in.md", | ||
"level": "LEVEL_HIGH", | ||
"line": "5", | ||
"linter": "codespell", | ||
"message": "realy ==> really, relay", | ||
"targetType": "ALL", | ||
}, | ||
{ | ||
"code": "misspelled", | ||
"file": "test_data/basic_py.in.py", | ||
"level": "LEVEL_HIGH", | ||
"line": "20", | ||
"linter": "codespell", | ||
"message": "callbak ==> callback", | ||
"targetType": "ALL", | ||
}, | ||
{ | ||
"code": "misspelled", | ||
"file": "test_data/basic_py.in.py", | ||
"level": "LEVEL_HIGH", | ||
"line": "20", | ||
"linter": "codespell", | ||
"message": "lamda ==> lambda", | ||
"targetType": "ALL", | ||
}, | ||
{ | ||
"code": "misspelled", | ||
"file": "test_data/basic_py.in.py", | ||
"level": "LEVEL_HIGH", | ||
"line": "22", | ||
"linter": "codespell", | ||
"message": "anme ==> name, anime", | ||
"targetType": "ALL", | ||
}, | ||
{ | ||
"code": "misspelled", | ||
"file": "test_data/basic_ts.in.ts", | ||
"level": "LEVEL_HIGH", | ||
"line": "17", | ||
"linter": "codespell", | ||
"message": "callbakc ==> callback", | ||
"targetType": "ALL", | ||
}, | ||
{ | ||
"code": "misspelled", | ||
"file": "test_data/basic_ts.in.ts", | ||
"level": "LEVEL_HIGH", | ||
"line": "18", | ||
"linter": "codespell", | ||
"message": "callbak ==> callback", | ||
"targetType": "ALL", | ||
}, | ||
{ | ||
"code": "misspelled", | ||
"file": "test_data/basic_ts.in.ts", | ||
"level": "LEVEL_HIGH", | ||
"line": "19", | ||
"linter": "codespell", | ||
"message": "asnyc ==> async", | ||
"targetType": "ALL", | ||
}, | ||
], | ||
"lintActions": [ | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
".trunk/trunk.yaml", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
"codespell.test.ts", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
"codespell_to_sarif.py", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
"plugin.yaml", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
"result.json", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
"test_data/basic_md.in.md", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
"test_data/basic_py.in.py", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
"test_data/basic_ts.in.ts", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
"test_data/empty.in.txt", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
], | ||
"taskFailures": [], | ||
"unformattedFiles": [], | ||
} | ||
`; |
139 changes: 139 additions & 0 deletions
139
linters/codespell/test_data/codespell_v2.2.6_dictionary.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,139 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
// trunk-upgrade-validation:RELEASE | ||
|
||
exports[`Testing linter codespell test dictionary 1`] = ` | ||
{ | ||
"issues": [ | ||
{ | ||
"code": "misspelled", | ||
"file": "test_data/basic_py.in.py", | ||
"level": "LEVEL_HIGH", | ||
"line": "20", | ||
"linter": "codespell", | ||
"message": "lamda ==> lambda", | ||
"targetType": "ALL", | ||
}, | ||
{ | ||
"code": "misspelled", | ||
"file": "test_data/basic_py.in.py", | ||
"level": "LEVEL_HIGH", | ||
"line": "22", | ||
"linter": "codespell", | ||
"message": "anme ==> name, anime", | ||
"targetType": "ALL", | ||
}, | ||
{ | ||
"code": "misspelled", | ||
"file": "test_data/basic_ts.in.ts", | ||
"level": "LEVEL_HIGH", | ||
"line": "17", | ||
"linter": "codespell", | ||
"message": "callbakc ==> callback", | ||
"targetType": "ALL", | ||
}, | ||
{ | ||
"code": "misspelled", | ||
"file": "test_data/basic_ts.in.ts", | ||
"level": "LEVEL_HIGH", | ||
"line": "19", | ||
"linter": "codespell", | ||
"message": "asnyc ==> async", | ||
"targetType": "ALL", | ||
}, | ||
], | ||
"lintActions": [ | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
".codespellrc", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
".trunk/trunk.yaml", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
"codespell.test.ts", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
"codespell_to_sarif.py", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
"plugin.yaml", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
"result.json", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
"test_data/basic_md.in.md", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
"test_data/basic_py.in.py", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
"test_data/basic_ts.in.ts", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "ALL", | ||
"linter": "codespell", | ||
"paths": [ | ||
"test_data/empty.in.txt", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
], | ||
"taskFailures": [], | ||
"unformattedFiles": [], | ||
} | ||
`; |
Oops, something went wrong.