Skip to content

Commit 108a647

Browse files
Merge pull request #261 from codacy/fix-vanta-vulnerability
fix: vanta vulnerability Django
2 parents fd6b342 + a8de3c1 commit 108a647

File tree

7 files changed

+15
-16
lines changed

7 files changed

+15
-16
lines changed

.circleci/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
version: 2.1
22

33
orbs:
4-
codacy: codacy/base@12.1.2
5-
codacy_plugins_test: codacy/plugins-test@2.0.11
4+
codacy: codacy/base@12.2.0
5+
codacy_plugins_test: codacy/plugins-test@2.1.0
66

77
workflows:
88
version: 2

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.13-alpine3.21
1+
FROM python:3.13-alpine3.22
22
COPY requirements.txt ./
33
RUN pip3 install --no-cache-dir -r requirements.txt
44
COPY docs /docs

build.sbt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
lazy val `doc-generator` = project
22
.settings(
33
libraryDependencies ++= Seq(
4-
"net.ruippeixotog" %% "scala-scraper" % "3.0.0",
5-
"com.github.pathikrit" %% "better-files" % "3.8.0",
6-
"com.lihaoyi" %% "ujson" % "0.8.0"
4+
"net.ruippeixotog" %% "scala-scraper" % "3.2.0",
5+
"com.github.pathikrit" %% "better-files" % "3.9.2",
6+
"com.lihaoyi" %% "ujson" % "4.3.2"
77
),
8-
scalaVersion := "2.13.2",
8+
scalaVersion := "2.13.16",
99
Compile / fork := true
1010
)

doc-generator/src/main/scala/codacy/pylint/Main.scala

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import scala.util.chaining._
99

1010
import net.ruippeixotog.scalascraper.browser.JsoupBrowser
1111
import net.ruippeixotog.scalascraper.scraper.ContentExtractors.elementList
12-
import net.ruippeixotog.scalascraper.dsl.DSL.deepFunctorOps
1312
import net.ruippeixotog.scalascraper.dsl.DSL._
1413
import net.ruippeixotog.scalascraper.dsl.DSL.Extract._
1514

@@ -80,8 +79,8 @@ object Main {
8079

8180
def makePlainText(title: String, body: String): (String, String) = {
8281
val newLines = body.linesIterator.toList match {
83-
case title :: secondLine :: rest =>
84-
title.stripSuffix(".") + "." :: secondLine.capitalize :: rest
82+
case firstLine :: secondLine :: rest =>
83+
firstLine.stripSuffix(".") + "." :: secondLine.capitalize :: rest
8584
case lines => lines
8685
}
8786
val descriptionText = newLines.mkString(" ")

docs/patterns.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "pylintpython3",
3-
"version": "3.3.7",
3+
"version": "3.3.8",
44
"patterns": [
55
{
66
"patternId": "E0103",

project/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=1.8.2
1+
sbt.version=1.11.6

requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
pylint==3.3.7
2-
Django==5.2.1
1+
pylint==3.3.8
2+
Django==5.2.6
33
pylint-django==2.6.1
4-
Flask==3.1.1
4+
Flask==3.1.2
55
pylint-flask==0.6
66
pylint-common==0.2.5
77
pylint-celery==0.3
88
SaltPyLint==2024.2.5
9-
jsonpickle==4.0.5
9+
jsonpickle==4.1.1
1010
asttokens==3.0.0
1111
pylint-beam==0.1.2
1212
pylint-pytest==1.1.8

0 commit comments

Comments
 (0)