Skip to content

Commit 73c1d8a

Browse files
author
Javier Matias-Cabrera
committed
Ignore requirements.txt when using python scope
1 parent e1ba5e5 commit 73c1d8a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

talismanrc/scopes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ var knownScopes = map[string][]string{
77
"bazel": {"*.bzl"},
88
"terraform": {".terraform.lock.hcl"},
99
"php": {"composer.lock"},
10-
"python": {"poetry.lock", "Pipfile.lock"},
10+
"python": {"poetry.lock", "Pipfile.lock", "requirements.txt"},
1111
}

talismanrc/talismanrc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ func TestIgnoreAdditionsByScope(t *testing.T) {
118118
"python": {
119119
testAddition("poetry.lock"),
120120
testAddition("Pipfile.lock"),
121+
testAddition("requirements.txt"),
121122
},
122123
}
123124

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

301302
})
302303

303-
304304
}
305305

306306
func TestForScan(t *testing.T) {

0 commit comments

Comments
 (0)