mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 05:22:23 +00: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:
parent
47f104479c
commit
b1bf2238b3
@ -93,6 +93,9 @@ var GeneratedCodeNameMatchers = []GeneratedCodeNameMatcher{
|
||||
|
||||
// GraphQL relay
|
||||
nameContains("__generated__/"),
|
||||
|
||||
// Poetry lock
|
||||
nameEndsWith("poetry.lock"),
|
||||
}
|
||||
|
||||
// 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.cs", true, true},
|
||||
{"Generated/Haxe/Main.php", true, true},
|
||||
|
||||
//Poetry lock file
|
||||
{"Dummy/poetry.lock", false, true},
|
||||
}
|
||||
|
||||
for _, tt := range testCases {
|
||||
|
Loading…
Reference in New Issue
Block a user