Skip to content

Commit 424cc5f

Browse files
committed
add poetry.lock to python dependency scanning
1 parent b663d21 commit 424cc5f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ target
88
/libexec/
99
/bin/
1010
/.bsp
11+
.vscode/

codacy-plugins-api/src/main/scala/com/codacy/plugins/api/languages/Language.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ object Languages {
107107

108108
case object PHP extends Language(extensions = Set(".php"), files = Set("composer.lock"))
109109

110-
case object Python extends Language(extensions = Set(".py"), files = Set("Pipfile.lock", "requirements.txt"))
110+
case object Python
111+
extends Language(extensions = Set(".py"), files = Set("Pipfile.lock", "requirements.txt", "poetry.lock"))
111112

112113
// Support startdate: 31 August 2015
113114
case object Ruby

0 commit comments

Comments
 (0)