diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 57681d9..f429f95 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,13 +8,13 @@ default_stages: [pre-commit] # This is a template for connector pre-commit hooks repos: - repo: https://github.com/compilerla/conventional-pre-commit - rev: v4.1.0 + rev: v4.4.0 hooks: - id: conventional-pre-commit stages: [commit-msg] args: [--verbose] - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-merge-conflict - id: end-of-file-fixer @@ -27,13 +27,13 @@ repos: - id: check-json - id: check-yaml - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.11.7 + rev: v0.16.8 hooks: - id: ruff args: [ "--fix", "--unsafe-fixes"] # Allow unsafe fixes (ruff pretty strict about what it can fix) - id: ruff-format - repo: https://github.com/djlint/djLint - rev: v1.36.4 + rev: v1.46.1 hooks: - id: djlint-reformat-django - id: djlint-django @@ -43,12 +43,12 @@ repos: - id: soar-app-linter args: ["--single-repo", "--message-level", "error"] - repo: https://github.com/hukkin/mdformat - rev: 0.7.22 + rev: 1.0.0 hooks: - id: mdformat exclude: "release_notes/.*" - repo: https://github.com/returntocorp/semgrep - rev: v1.136.0 + rev: v1.165.0 hooks: - id: semgrep additional_dependencies: ["setuptools==81.0.0"] @@ -61,7 +61,7 @@ repos: exclude: "README.md" # Central hooks - repo: https://github.com/phantomcyber/dev-cicd-tools - rev: v2.2.4 + rev: v2.2.10 hooks: - id: build-docs language: python diff --git a/NOTICE b/NOTICE index e1af544..b528aba 100644 --- a/NOTICE +++ b/NOTICE @@ -4,7 +4,7 @@ Third Party Software Attributions: @@@@============================================================================ -Library: GitPython - 3.1.45 +Library: GitPython - 3.1.49 Homepage: https://github.com/gitpython-developers/GitPython License: BSD-3-Clause License Text: diff --git a/git.json b/git.json index 9f616b9..fc66980 100644 --- a/git.json +++ b/git.json @@ -1459,7 +1459,7 @@ }, { "module": "gitpython", - "input_file": "wheels/py3/gitpython-3.1.45-py3-none-any.whl" + "input_file": "wheels/py3/gitpython-3.1.49-py3-none-any.whl" }, { "module": "pycryptodomex", @@ -1483,7 +1483,7 @@ }, { "module": "gitpython", - "input_file": "wheels/py3/gitpython-3.1.45-py3-none-any.whl" + "input_file": "wheels/py3/gitpython-3.1.49-py3-none-any.whl" }, { "module": "pycryptodomex", diff --git a/git_connector.py b/git_connector.py index ee008f8..e60cee9 100644 --- a/git_connector.py +++ b/git_connector.py @@ -826,7 +826,7 @@ def _configure_ssh(self, param): # Create temp pub_key to add to the vault pub_key_vault_path = ssh_key_dir / "id_rsa.pub_vault" pub_key_vault_path.write_bytes(pub_key) - status, message, vault_id = phantom_rules.vault_add( + status, message, _vault_id = phantom_rules.vault_add( container=self.get_container_id(), file_location=str(pub_key_vault_path), file_name="id_rsa.pub" ) if not status: @@ -965,7 +965,7 @@ def _on_poll(self, param): action_result = self.add_action_result(phantom.ActionResult(param)) - resp_status, status_str, status_porcelain = self.__git_status(action_result=action_result, param=param) + resp_status, _status_str, _status_porcelain = self.__git_status(action_result=action_result, param=param) if phantom.is_fail(resp_status): clone_res = self.__clone_repo(action_result=action_result, param=param) if phantom.is_fail(clone_res): diff --git a/git_git_status.html b/git_git_status.html index aa440f9..f90d3c7 100644 --- a/git_git_status.html +++ b/git_git_status.html @@ -1,4 +1,4 @@ -{% extends 'widgets/widget_template.html' %} +{% extends "widgets/widget_template.html" %} {% load custom_template %} {% block custom_title_prop %} {% if title_logo %} diff --git a/git_list_repos.html b/git_list_repos.html index e2cb91f..2aea20f 100644 --- a/git_list_repos.html +++ b/git_list_repos.html @@ -1,4 +1,4 @@ -{% extends 'widgets/widget_template.html' %} +{% extends "widgets/widget_template.html" %} {% load custom_template %} {% block custom_title_prop %} {% if title_logo %} diff --git a/release_notes/unreleased.md b/release_notes/unreleased.md index fbcb2fd..85ef05b 100644 --- a/release_notes/unreleased.md +++ b/release_notes/unreleased.md @@ -1 +1,3 @@ **Unreleased** + +* - Updated the bundled GitPython dependency to 3.1.49. diff --git a/requirements.txt b/requirements.txt index ea4f237..bf620ce 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -GitPython==3.1.45 +GitPython==3.1.49 pycryptodomex==3.20.0 diff --git a/wheels/py3/gitpython-3.1.45-py3-none-any.whl b/wheels/py3/gitpython-3.1.45-py3-none-any.whl deleted file mode 100644 index 8f3784a..0000000 Binary files a/wheels/py3/gitpython-3.1.45-py3-none-any.whl and /dev/null differ diff --git a/wheels/py3/gitpython-3.1.49-py3-none-any.whl b/wheels/py3/gitpython-3.1.49-py3-none-any.whl new file mode 100644 index 0000000..1fc9f0d Binary files /dev/null and b/wheels/py3/gitpython-3.1.49-py3-none-any.whl differ