Skip to content

Commit

Permalink
Ignore requirements.txt when using python scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Matias-Cabrera committed May 23, 2023
1 parent e1ba5e5 commit 73c1d8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion talismanrc/scopes.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ var knownScopes = map[string][]string{
"bazel": {"*.bzl"},
"terraform": {".terraform.lock.hcl"},
"php": {"composer.lock"},
"python": {"poetry.lock", "Pipfile.lock"},
"python": {"poetry.lock", "Pipfile.lock", "requirements.txt"},
}
2 changes: 1 addition & 1 deletion talismanrc/talismanrc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ func TestIgnoreAdditionsByScope(t *testing.T) {
"python": {
testAddition("poetry.lock"),
testAddition("Pipfile.lock"),
testAddition("requirements.txt"),
},
}

Expand Down Expand Up @@ -300,7 +301,6 @@ func TestFor(t *testing.T) {

})


}

func TestForScan(t *testing.T) {
Expand Down

0 comments on commit 73c1d8a

Please sign in to comment.