diff --git a/talismanrc/scopes.go b/talismanrc/scopes.go index a65a4c71..6129eb67 100644 --- a/talismanrc/scopes.go +++ b/talismanrc/scopes.go @@ -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"}, } diff --git a/talismanrc/talismanrc_test.go b/talismanrc/talismanrc_test.go index 1da13561..de2dea02 100644 --- a/talismanrc/talismanrc_test.go +++ b/talismanrc/talismanrc_test.go @@ -118,6 +118,7 @@ func TestIgnoreAdditionsByScope(t *testing.T) { "python": { testAddition("poetry.lock"), testAddition("Pipfile.lock"), + testAddition("requirements.txt"), }, } @@ -300,7 +301,6 @@ func TestFor(t *testing.T) { }) - } func TestForScan(t *testing.T) {