diff --git a/python/.pre-commit-config.yaml b/python/.pre-commit-config.yaml index 1efb48ece334..0f72ca9616fc 100644 --- a/python/.pre-commit-config.yaml +++ b/python/.pre-commit-config.yaml @@ -32,19 +32,21 @@ repos: - id: pyupgrade args: [--py310-plus] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.1 + rev: v0.7.4 hooks: - id: ruff args: [ --fix, --exit-non-zero-on-fix ] - id: ruff-format - repo: https://github.com/astral-sh/uv-pre-commit # uv version. - rev: 0.4.30 + rev: 0.5.2 hooks: # Update the uv lockfile - id: uv-lock + files: python/pyproject.toml + args: [--project, python] - repo: https://github.com/PyCQA/bandit - rev: 1.7.8 + rev: 1.7.10 hooks: - id: bandit args: ["-c", "python/pyproject.toml"] diff --git a/python/pyproject.toml b/python/pyproject.toml index 6d420efcb6e1..aeb4379a5414 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -136,7 +136,7 @@ dev-dependencies = [ "snoop ~= 0.4", "mypy >= 1.10", "types-PyYAML ~= 6.0.12.20240311", - "ruff ~= 0.5" + "ruff ~= 0.7" ] environments = [ "sys_platform == 'darwin'", diff --git a/python/uv.lock b/python/uv.lock index dde2b5e554d7..8b288a410307 100644 --- a/python/uv.lock +++ b/python/uv.lock @@ -4653,7 +4653,7 @@ wheels = [ [[package]] name = "semantic-kernel" -version = "1.14.0" +version = "1.15.0" source = { editable = "." } dependencies = [ { name = "aiohttp", marker = "sys_platform == 'darwin' or sys_platform == 'linux' or sys_platform == 'win32'" }, @@ -4826,7 +4826,7 @@ dev = [ { name = "pytest-asyncio", specifier = "~=0.23" }, { name = "pytest-cov", specifier = ">=5.0" }, { name = "pytest-xdist", extras = ["psutil"], specifier = "~=3.6" }, - { name = "ruff", specifier = "~=0.5" }, + { name = "ruff", specifier = "~=0.7" }, { name = "snoop", specifier = "~=0.4" }, { name = "types-pyyaml", specifier = "~=6.0.12.20240311" }, ]