Skip to content

Commit

Permalink
Merge pull request #1 from ausmaster/snyk-fix-9827f54428dbd7631d3be74…
Browse files Browse the repository at this point in the history
…9353d645a

[Snyk] Fix for 3 vulnerabilities
  • Loading branch information
ausmaster authored Sep 24, 2024
2 parents 3a42626 + 3df4700 commit c4f0bc8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.12.3
FROM python:3.12.5

WORKDIR /usr/src/app

Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pymongo~=4.7.2
pymongo~=4.9.1
requests~=2.32.2
nltk~=3.8.1
nltk~=3.9.1
rapidfuzz~=3.9.3
2 changes: 1 addition & 1 deletion vaultlib/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ class NVDParallelAPICaller: # pylint: disable=R0902
"""
Introduces parallelism for API calls to NVD.
"""
def __init__( # pylint: disable=R0913
def __init__( # pylint: disable=R0913,R0917
self,
delay: float,
progress_callback: Callable[[int, int], None],
Expand Down
4 changes: 2 additions & 2 deletions vaultlib/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ def __init__(self, config_path: str = "config.json") -> None:
self.conn_retry_delay_mult: int = 3
# Number of threads used to fetch API data
self.fetch_threads: int = 3
# NLTK "Punkt" Pre-trained model URL
self.punkt_url: str = "punkt"
# NLTK "Punkt Tab" Pre-trained model URL
self.punkt_url: str = "punkt_tab"

# All Config values from config.json are converted from camelCase to snake_case
# overrides instance variable if exists
Expand Down

0 comments on commit c4f0bc8

Please sign in to comment.