diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ee4f4306f5c..ab1745d6ce5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,7 @@ repos: args: ["--fix=lf"] exclude: '\.bat|\.csv|\.ps1$|packages/syft/tests/mongomock' - - repo: https://github.com/MarcoGorelli/absolufy-imports + - repo: https://github.com/MarcoGorelli/absolufy-imports # This repository has been archived by the owner on Aug 15, 2023. It is now read-only. rev: v0.3.1 hooks: - id: absolufy-imports @@ -76,7 +76,7 @@ repos: always_run: true - repo: https://github.com/nbQA-dev/nbQA - rev: 1.8.3 + rev: 1.8.5 # nbQA has no files attribute # files: "^notebooks/(api|tutorials|admin)" hooks: @@ -84,7 +84,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: "v0.4.3" + rev: "v0.4.7" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] @@ -94,7 +94,7 @@ repos: types_or: [python, pyi, jupyter] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.10.0 hooks: - id: mypy name: "mypy: syft-cli" @@ -119,7 +119,7 @@ repos: ] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.10.0 hooks: - id: mypy name: "mypy: grid" @@ -144,7 +144,7 @@ repos: ] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.8.0 + rev: v1.10.0 hooks: - id: mypy name: "mypy: syft" @@ -175,7 +175,7 @@ repos: - id: nbstripout files: "^notebooks/(api|tutorials|admin)" - - repo: https://github.com/pre-commit/mirrors-prettier + - repo: https://github.com/pre-commit/mirrors-prettier # This repository has been archived by the owner on Apr 11, 2024. It is now read-only. rev: "v3.0.0-alpha.9-for-vscode" hooks: - id: prettier diff --git a/packages/syft/setup.cfg b/packages/syft/setup.cfg index 2ff5f2644cb..94e45d5788f 100644 --- a/packages/syft/setup.cfg +++ b/packages/syft/setup.cfg @@ -36,7 +36,7 @@ syft = pycapnp==2.0.0 pydantic[email]==2.6.0 pydantic-settings==2.2.1 - pymongo==4.6.2 + pymongo==4.6.3 pynacl==1.5.0 pyzmq>=23.2.1,<=25.1.1 requests==2.32.3 @@ -91,12 +91,12 @@ data_science = dev = %(test_plugins)s %(telemetry)s - bandit==1.7.7 - ruff==0.3.0 - importlib-metadata==6.8.0 + bandit==1.7.8 + ruff==0.4.7 + importlib-metadata==7.1.0 isort==5.13.2 - mypy==1.7.1 - pre-commit==3.6.2 + mypy==1.10.0 + pre-commit==3.7.1 safety>=2.4.0b2 telemetry = diff --git a/tox.ini b/tox.ini index c374b12ff36..2b94b8785c3 100644 --- a/tox.ini +++ b/tox.ini @@ -234,7 +234,7 @@ deps = commands = bandit -r src # restrictedpython 6.2 - safety check -i 60840 -i 54229 -i 54230 -i 42923 -i 54230 -i 54229 -i 62044 -i 65213 -i 54564 + safety check -i 70612 [testenv:syft.test.unit] description = Syft Unit Tests