-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix snapshots and remove release tags (#243)
Remove the release tags for latest testing that were included in the previous release. Adds new snapshots for `buf-lint` and `djlint`, which released new versions yesterday with subtle changes.
- Loading branch information
1 parent
be23dce
commit 351cfed
Showing
14 changed files
with
156 additions
and
10 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
linters/ansible-lint/test_data/ansible_lint_v6.14.3_FQCN.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
1 change: 0 additions & 1 deletion
1
linters/ansible-lint/test_data/ansible_lint_v6.14.3_non_FQCN.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
13 changes: 13 additions & 0 deletions
13
linters/buf/test_data/buf_format_v1.17.0_buf_lint.fmt.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,13 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Testing formatter buf-format test buf_lint 1`] = ` | ||
"syntax = "proto3"; | ||
|
||
package trunk; | ||
|
||
enum GoodEnum { | ||
lower_case_UNSPECIFIED = 0; | ||
GOOD_ENUM_VALUE_1 = 1; | ||
} | ||
" | ||
`; |
77 changes: 77 additions & 0 deletions
77
linters/buf/test_data/buf_lint_v1.17.0_buf_lint.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,77 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
// trunk-upgrade-validation:RELEASE | ||
|
||
exports[`Testing linter buf-lint test buf_lint 1`] = ` | ||
{ | ||
"issues": [ | ||
{ | ||
"code": "FILE_LOWER_SNAKE_CASE", | ||
"column": "1", | ||
"file": "test_data/buf_lint.in.proto", | ||
"issueUrl": "https://docs.buf.build/lint/rules#file_lower_snake_case", | ||
"level": "LEVEL_HIGH", | ||
"line": "1", | ||
"linter": "buf-lint", | ||
"message": "Filename "buf_lint.in.proto" should be lower_snake_case.proto, such as "buf_lint_in.proto".", | ||
"targetType": "proto", | ||
}, | ||
{ | ||
"code": "PACKAGE_DIRECTORY_MATCH", | ||
"column": "1", | ||
"file": "test_data/buf_lint.in.proto", | ||
"issueUrl": "https://docs.buf.build/lint/rules#package_directory_match", | ||
"level": "LEVEL_HIGH", | ||
"line": "4", | ||
"linter": "buf-lint", | ||
"message": "Files with package "trunk" must be within a directory "trunk" relative to root but were in directory "test_data".", | ||
"targetType": "proto", | ||
}, | ||
{ | ||
"code": "PACKAGE_VERSION_SUFFIX", | ||
"column": "1", | ||
"file": "test_data/buf_lint.in.proto", | ||
"issueUrl": "https://docs.buf.build/lint/rules#package_version_suffix", | ||
"level": "LEVEL_HIGH", | ||
"line": "4", | ||
"linter": "buf-lint", | ||
"message": "Package name "trunk" should be suffixed with a correctly formed version, such as "trunk.v1".", | ||
"targetType": "proto", | ||
}, | ||
{ | ||
"code": "ENUM_VALUE_PREFIX", | ||
"column": "3", | ||
"file": "test_data/buf_lint.in.proto", | ||
"issueUrl": "https://docs.buf.build/lint/rules#enum_value_prefix", | ||
"level": "LEVEL_HIGH", | ||
"line": "7", | ||
"linter": "buf-lint", | ||
"message": "Enum value name "lower_case_UNSPECIFIED" should be prefixed with "GOOD_ENUM_".", | ||
"targetType": "proto", | ||
}, | ||
{ | ||
"code": "ENUM_VALUE_UPPER_SNAKE_CASE", | ||
"column": "3", | ||
"file": "test_data/buf_lint.in.proto", | ||
"issueUrl": "https://docs.buf.build/lint/rules#enum_value_upper_snake_case", | ||
"level": "LEVEL_HIGH", | ||
"line": "7", | ||
"linter": "buf-lint", | ||
"message": "Enum value name "lower_case_UNSPECIFIED" should be UPPER_SNAKE_CASE, such as "LOWER_CASE_UNSPECIFIED".", | ||
"targetType": "proto", | ||
}, | ||
], | ||
"lintActions": [ | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "proto", | ||
"linter": "buf-lint", | ||
"paths": [ | ||
"test_data/buf_lint.in.proto", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
], | ||
"taskFailures": [], | ||
"unformattedFiles": [], | ||
} | ||
`; |
1 change: 0 additions & 1 deletion
1
linters/circleci/test_data/circleci_v0.1.24705_CUSTOM.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
51 changes: 51 additions & 0 deletions
51
linters/djlint/test_data/djlint_v1.19.17_logout.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,51 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Testing linter djlint test logout 1`] = ` | ||
{ | ||
"issues": [ | ||
{ | ||
"code": "H017", | ||
"column": "4", | ||
"file": "test_data/logout.in.html", | ||
"issueUrl": "https://www.djlint.com/docs/linter/#rules", | ||
"level": "LEVEL_HIGH", | ||
"line": "4", | ||
"linter": "djlint", | ||
"message": "Tag should be self closing. :: <link>", | ||
"targetType": "html", | ||
}, | ||
], | ||
"lintActions": [ | ||
{ | ||
"command": "fmt", | ||
"fileGroupName": "html", | ||
"linter": "djlint", | ||
"paths": [ | ||
"test_data/logout.in.html", | ||
], | ||
"verb": "TRUNK_VERB_FMT", | ||
}, | ||
{ | ||
"command": "lint", | ||
"fileGroupName": "html", | ||
"linter": "djlint", | ||
"paths": [ | ||
"test_data/logout.in.html", | ||
], | ||
"verb": "TRUNK_VERB_CHECK", | ||
}, | ||
], | ||
"taskFailures": [], | ||
"unformattedFiles": [ | ||
{ | ||
"column": "1", | ||
"file": "test_data/logout.in.html", | ||
"issueClass": "ISSUE_CLASS_UNFORMATTED", | ||
"level": "LEVEL_HIGH", | ||
"line": "1", | ||
"linter": "djlint", | ||
"message": "Incorrect formatting, autoformat by running 'trunk fmt'", | ||
}, | ||
], | ||
} | ||
`; |
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,15 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
// trunk-upgrade-validation:RELEASE | ||
|
||
exports[`Testing formatter djlint test logout 1`] = ` | ||
"{% extends "base.html" %} | ||
{% load i18n %} | ||
{% block contentLoggedIn %}You are currently logged in.{% endblock %} | ||
{% block content %} | ||
<!--{% trans "Logged out" %}--> | ||
<p>You are currently logged out.</p> | ||
<link></link> | ||
<a href="{% url auth_login %}">{% trans "Log in" %}</a> | ||
{% endblock %} | ||
" | ||
`; |
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
1 change: 0 additions & 1 deletion
1
linters/osv-scanner/test_data/osv_scanner_v1.2.0_CUSTOM.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
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
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
1 change: 0 additions & 1 deletion
1
linters/sqlfluff/test_data/sqlfluff_v2.0.0_basic_check.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
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
1 change: 0 additions & 1 deletion
1
linters/swiftlint/test_data/swiftlint_v0.51.0_CUSTOM.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