mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-27 06:42:04 -03:00
Add poetry.lock to generated files
`poetry.lock` is a generated file by the python poetry package manager, see https://python-poetry.org/docs/basic-usage/ for references.
This commit is contained in:
@ -93,6 +93,9 @@ var GeneratedCodeNameMatchers = []GeneratedCodeNameMatcher{
|
|||||||
|
|
||||||
// GraphQL relay
|
// GraphQL relay
|
||||||
nameContains("__generated__/"),
|
nameContains("__generated__/"),
|
||||||
|
|
||||||
|
// Poetry lock
|
||||||
|
nameEndsWith("poetry.lock"),
|
||||||
}
|
}
|
||||||
|
|
||||||
// GeneratedCodeMatcher checks whether the file with the given data is
|
// GeneratedCodeMatcher checks whether the file with the given data is
|
||||||
|
@ -370,6 +370,9 @@ func TestIsGenerated(t *testing.T) {
|
|||||||
{"Generated/Haxe/Main.java", true, true},
|
{"Generated/Haxe/Main.java", true, true},
|
||||||
{"Generated/Haxe/Main.cs", true, true},
|
{"Generated/Haxe/Main.cs", true, true},
|
||||||
{"Generated/Haxe/Main.php", true, true},
|
{"Generated/Haxe/Main.php", true, true},
|
||||||
|
|
||||||
|
//Poetry lock file
|
||||||
|
{"Dummy/poetry.lock", false, true},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, tt := range testCases {
|
for _, tt := range testCases {
|
||||||
|
Reference in New Issue
Block a user