Merge pull request #112 from silverwind/poetry-generated
Add poetry.lock to generated files
This commit is contained in:
commit
6f052a7bc7
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user