From 7802527a0439636abad915eac4d4a3e3fe018834 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 13:47:57 +0200 Subject: [PATCH 01/32] Linters update pre-commit 4.5.0 -> 4.6.0 rufff 0.4.7 -> 0.5.3 mypy 0.10.0 -> 0.11.0 --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 92b64b9d4b1..ac20b4e3a10 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v4.6.0 hooks: - id: check-ast exclude: ^(packages/syft/tests/mongomock) @@ -84,7 +84,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: "v0.4.7" + rev: "v0.5.3" 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.10.0 + rev: v1.11.0 hooks: - id: mypy name: "mypy: syft-cli" @@ -119,7 +119,7 @@ repos: ] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.10.0 + rev: v1.11.0 hooks: - id: mypy name: "mypy: grid" @@ -144,7 +144,7 @@ repos: ] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.10.0 + rev: v1.11.0 hooks: - id: mypy name: "mypy: syft" From 5b603f07831e7ef85497256e6cf7e135b0347abd Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 13:50:01 +0200 Subject: [PATCH 02/32] linters update bandit 1.7.8 -> 1.7.9 ruff 0.4.7 -> 0.5.3 mypy 1.10.0 -> 1.11.0 --- packages/syft/setup.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/syft/setup.cfg b/packages/syft/setup.cfg index 3dbcfbe8520..09a170b5132 100644 --- a/packages/syft/setup.cfg +++ b/packages/syft/setup.cfg @@ -93,13 +93,13 @@ data_science = dev = %(test_plugins)s %(telemetry)s - bandit==1.7.8 + bandit==1.7.9 debugpy==1.8.2 importlib-metadata==7.1.0 isort==5.13.2 - mypy==1.10.0 + mypy==1.11.0 pre-commit==3.7.1 - ruff==0.4.7 + ruff==0.5.3 safety>=2.4.0b2 telemetry = From 8bc75ac8ba6d5f1bfb4743564fc9cd20f3158bcc Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 13:58:43 +0200 Subject: [PATCH 03/32] Update ruff.toml --- ruff.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/ruff.toml b/ruff.toml index bdf2c46b9cf..147ea484107 100644 --- a/ruff.toml +++ b/ruff.toml @@ -20,6 +20,7 @@ select = [ ignore = [ "B904", # check for raise statements in exception handlers that lack a from clause "B905", # zip() without an explicit strict= parameter + "E721", # temporary ] [lint.per-file-ignores] From bace191cfb92007c5508a7f9ef9ab798acde6e5e Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 13:59:06 +0200 Subject: [PATCH 04/32] Update ruff.toml --- ruff.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruff.toml b/ruff.toml index 147ea484107..cc29e3ba8a5 100644 --- a/ruff.toml +++ b/ruff.toml @@ -20,7 +20,7 @@ select = [ ignore = [ "B904", # check for raise statements in exception handlers that lack a from clause "B905", # zip() without an explicit strict= parameter - "E721", # temporary + "E721", # must be removed before merge ] [lint.per-file-ignores] From cc1376d1f3f053cc0075b1b54960f0a98b1af9e0 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 14:30:20 +0200 Subject: [PATCH 05/32] ignore temporary some codes must be removed before merge E721 RUF003 RUF005 RUF012 RUF013 RUF015 --- ruff.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ruff.toml b/ruff.toml index cc29e3ba8a5..2d29c53f5b4 100644 --- a/ruff.toml +++ b/ruff.toml @@ -21,6 +21,11 @@ ignore = [ "B904", # check for raise statements in exception handlers that lack a from clause "B905", # zip() without an explicit strict= parameter "E721", # must be removed before merge + "RUF003", # must be removed before merge + "RUF005", # must be removed before merge + "RUF012", # must be removed before merge + "RUF013", # must be removed before merge + "RUF015", # must be removed before merge ] [lint.per-file-ignores] From 2ebdb0b1fe3bb82d2e8d14003c550cc14bf11b3d Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 14:32:05 +0200 Subject: [PATCH 06/32] remove unnecessary noqa F821 --- packages/syft/src/syft/client/datasite_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/syft/src/syft/client/datasite_client.py b/packages/syft/src/syft/client/datasite_client.py index aa7c2ce2894..dfc04023f49 100644 --- a/packages/syft/src/syft/client/datasite_client.py +++ b/packages/syft/src/syft/client/datasite_client.py @@ -288,7 +288,7 @@ def connect_to_gateway( via_client: SyftClient | None = None, url: str | None = None, port: int | None = None, - handle: ServerHandle | None = None, # noqa: F821 + handle: ServerHandle | None = None, email: str | None = None, password: str | None = None, protocol: str | SyftProtocol = SyftProtocol.HTTP, From 55c7c263e346ad30f7c329904bae9719db704892 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 14:36:02 +0200 Subject: [PATCH 07/32] revert --- packages/syft/src/syft/client/datasite_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/syft/src/syft/client/datasite_client.py b/packages/syft/src/syft/client/datasite_client.py index dfc04023f49..7d141c7137d 100644 --- a/packages/syft/src/syft/client/datasite_client.py +++ b/packages/syft/src/syft/client/datasite_client.py @@ -288,7 +288,7 @@ def connect_to_gateway( via_client: SyftClient | None = None, url: str | None = None, port: int | None = None, - handle: ServerHandle | None = None, + handle: ServerHandle | None = None, # noqa email: str | None = None, password: str | None = None, protocol: str | SyftProtocol = SyftProtocol.HTTP, From 187f65349868b683ee64e92d57f99e56659b300d Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 14:39:50 +0200 Subject: [PATCH 08/32] Update datasite_client.py --- packages/syft/src/syft/client/datasite_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/syft/src/syft/client/datasite_client.py b/packages/syft/src/syft/client/datasite_client.py index 7d141c7137d..aa7c2ce2894 100644 --- a/packages/syft/src/syft/client/datasite_client.py +++ b/packages/syft/src/syft/client/datasite_client.py @@ -288,7 +288,7 @@ def connect_to_gateway( via_client: SyftClient | None = None, url: str | None = None, port: int | None = None, - handle: ServerHandle | None = None, # noqa + handle: ServerHandle | None = None, # noqa: F821 email: str | None = None, password: str | None = None, protocol: str | SyftProtocol = SyftProtocol.HTTP, From 79be9f3cae7e08c6720a24fe4c6c7723dd30ae1c Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 15:11:03 +0200 Subject: [PATCH 09/32] Update 05-custom-policy.ipynb --- notebooks/api/0.8/05-custom-policy.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/api/0.8/05-custom-policy.ipynb b/notebooks/api/0.8/05-custom-policy.ipynb index 819d7fc934e..d93265371dd 100644 --- a/notebooks/api/0.8/05-custom-policy.ipynb +++ b/notebooks/api/0.8/05-custom-policy.ipynb @@ -104,8 +104,8 @@ "source": [ "class RepeatedCallPolicy(sy.CustomOutputPolicy):\n", " n_calls: int = 0\n", - " downloadable_output_args: list[str] = []\n", - " state: dict[Any, Any] = {}\n", + " downloadable_output_args: ClassVar[list[str]] = []\n", + " state: ClassVar[dict[Any, Any]] = {}\n", "\n", " def __init__(self, n_calls=1, downloadable_output_args: list[str] = None):\n", " self.downloadable_output_args = (\n", From 80c52efed576855f6ee149bc9249ec5134a72d31 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 15:14:20 +0200 Subject: [PATCH 10/32] Update 05-custom-policy.ipynb --- notebooks/api/0.8/05-custom-policy.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/api/0.8/05-custom-policy.ipynb b/notebooks/api/0.8/05-custom-policy.ipynb index d93265371dd..c05085b3020 100644 --- a/notebooks/api/0.8/05-custom-policy.ipynb +++ b/notebooks/api/0.8/05-custom-policy.ipynb @@ -107,7 +107,7 @@ " downloadable_output_args: ClassVar[list[str]] = []\n", " state: ClassVar[dict[Any, Any]] = {}\n", "\n", - " def __init__(self, n_calls=1, downloadable_output_args: list[str] = None):\n", + " def __init__(self, n_calls: int = 1, downloadable_output_args: Optional[list[str]] = None):\n", " self.downloadable_output_args = (\n", " downloadable_output_args if downloadable_output_args is not None else []\n", " )\n", From 46d8ca5f4e0380fa497247d2a14397f6bc3ad065 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 15:20:18 +0200 Subject: [PATCH 11/32] lint RUF015 --- notebooks/tutorials/data-owner/02-account-management.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/tutorials/data-owner/02-account-management.ipynb b/notebooks/tutorials/data-owner/02-account-management.ipynb index 4f145816565..6e78b8ef282 100644 --- a/notebooks/tutorials/data-owner/02-account-management.ipynb +++ b/notebooks/tutorials/data-owner/02-account-management.ipynb @@ -150,7 +150,7 @@ "metadata": {}, "outputs": [], "source": [ - "new_user = [u for u in users if u.email == \"newuser@openmined.org\"][0]" + "new_user = next(u for u in users if u.email == \"newuser@openmined.org\")" ] }, { From f28fecea87dc58b17018526f2baef9632de70668 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 15:26:24 +0200 Subject: [PATCH 12/32] revert --- notebooks/tutorials/data-owner/02-account-management.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/tutorials/data-owner/02-account-management.ipynb b/notebooks/tutorials/data-owner/02-account-management.ipynb index 6e78b8ef282..4f145816565 100644 --- a/notebooks/tutorials/data-owner/02-account-management.ipynb +++ b/notebooks/tutorials/data-owner/02-account-management.ipynb @@ -150,7 +150,7 @@ "metadata": {}, "outputs": [], "source": [ - "new_user = next(u for u in users if u.email == \"newuser@openmined.org\")" + "new_user = [u for u in users if u.email == \"newuser@openmined.org\"][0]" ] }, { From 4e6100f6f47ed74d3731fa85a3f981ef265be5f1 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 15:28:24 +0200 Subject: [PATCH 13/32] revert --- notebooks/api/0.8/05-custom-policy.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/notebooks/api/0.8/05-custom-policy.ipynb b/notebooks/api/0.8/05-custom-policy.ipynb index c05085b3020..7469a06628c 100644 --- a/notebooks/api/0.8/05-custom-policy.ipynb +++ b/notebooks/api/0.8/05-custom-policy.ipynb @@ -104,10 +104,10 @@ "source": [ "class RepeatedCallPolicy(sy.CustomOutputPolicy):\n", " n_calls: int = 0\n", - " downloadable_output_args: ClassVar[list[str]] = []\n", - " state: ClassVar[dict[Any, Any]] = {}\n", + " downloadable_output_args: list[str] = []\n", + " state: dict[Any, Any] = {}\n", "\n", - " def __init__(self, n_calls: int = 1, downloadable_output_args: Optional[list[str]] = None):\n", + " def __init__(self, n_calls: int = 1, downloadable_output_args: list[str] = None):\n", " self.downloadable_output_args = (\n", " downloadable_output_args if downloadable_output_args is not None else []\n", " )\n", From 8d9eb77f80b5bf69a350412da8e330fbdf0d4515 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 15:29:25 +0200 Subject: [PATCH 14/32] Update 05-custom-policy.ipynb --- notebooks/api/0.8/05-custom-policy.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/api/0.8/05-custom-policy.ipynb b/notebooks/api/0.8/05-custom-policy.ipynb index 7469a06628c..ca61b15528d 100644 --- a/notebooks/api/0.8/05-custom-policy.ipynb +++ b/notebooks/api/0.8/05-custom-policy.ipynb @@ -107,7 +107,7 @@ " downloadable_output_args: list[str] = []\n", " state: dict[Any, Any] = {}\n", "\n", - " def __init__(self, n_calls: int = 1, downloadable_output_args: list[str] = None):\n", + " def __init__(self, n_calls=1, downloadable_output_args: list[str] = None):\n", " self.downloadable_output_args = (\n", " downloadable_output_args if downloadable_output_args is not None else []\n", " )\n", From 751e8e2af5d467f266b91f40f3e055fa72800dd1 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 15:30:45 +0200 Subject: [PATCH 15/32] Update 05-custom-policy.ipynb --- notebooks/api/0.8/05-custom-policy.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/api/0.8/05-custom-policy.ipynb b/notebooks/api/0.8/05-custom-policy.ipynb index ca61b15528d..819d7fc934e 100644 --- a/notebooks/api/0.8/05-custom-policy.ipynb +++ b/notebooks/api/0.8/05-custom-policy.ipynb @@ -107,7 +107,7 @@ " downloadable_output_args: list[str] = []\n", " state: dict[Any, Any] = {}\n", "\n", - " def __init__(self, n_calls=1, downloadable_output_args: list[str] = None):\n", + " def __init__(self, n_calls=1, downloadable_output_args: list[str] = None):\n", " self.downloadable_output_args = (\n", " downloadable_output_args if downloadable_output_args is not None else []\n", " )\n", From 3ccea38a71bc752dfb7b8ab5dbb185fc9bb77b97 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 22:26:18 +0200 Subject: [PATCH 16/32] Update ruff.toml --- ruff.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ruff.toml b/ruff.toml index 2d29c53f5b4..83160fade8f 100644 --- a/ruff.toml +++ b/ruff.toml @@ -23,9 +23,10 @@ ignore = [ "E721", # must be removed before merge "RUF003", # must be removed before merge "RUF005", # must be removed before merge - "RUF012", # must be removed before merge - "RUF013", # must be removed before merge + "RUF012", + "RUF013", "RUF015", # must be removed before merge + "RUF018", # must be removed before merge ] [lint.per-file-ignores] From 5f6f727f62b1f721d44bd02302e2e515524c6d3a Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 22:39:36 +0200 Subject: [PATCH 17/32] Lint --- ruff.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruff.toml b/ruff.toml index 83160fade8f..c11a0b4f5a4 100644 --- a/ruff.toml +++ b/ruff.toml @@ -23,7 +23,7 @@ ignore = [ "E721", # must be removed before merge "RUF003", # must be removed before merge "RUF005", # must be removed before merge - "RUF012", + "RUF012", "RUF013", "RUF015", # must be removed before merge "RUF018", # must be removed before merge From 75e2d41cd79d2e5f97d261ae05a41087928e40c7 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 22:52:54 +0200 Subject: [PATCH 18/32] Update tox.ini --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index d0e58bc3f55..6d0353ef9b0 100644 --- a/tox.ini +++ b/tox.ini @@ -244,7 +244,7 @@ deps = commands = bandit -r src # restrictedpython 6.2 - safety check -i 70612 + safety check -i 70612 71670 [testenv:syft.test.unit] description = Syft Unit Tests @@ -1199,4 +1199,4 @@ commands = commands_post = bash -c 'rm -f notebooks/tutorials/version-upgrades/migration.blob' - bash -c 'rm -f notebooks/tutorials/version-upgrades/migration.yaml' \ No newline at end of file + bash -c 'rm -f notebooks/tutorials/version-upgrades/migration.yaml' From 373452d16432d71505d65308f1b29405f351eb12 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 22:54:21 +0200 Subject: [PATCH 19/32] Update tox.ini --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 6d0353ef9b0..ab07de8aa7d 100644 --- a/tox.ini +++ b/tox.ini @@ -244,7 +244,7 @@ deps = commands = bandit -r src # restrictedpython 6.2 - safety check -i 70612 71670 + safety check -i 70612 -i 71670 [testenv:syft.test.unit] description = Syft Unit Tests From 982d47a25c45aa6fbb257a415c971f7bf2df614c Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Sat, 20 Jul 2024 22:58:27 +0200 Subject: [PATCH 20/32] Lint --- ruff.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruff.toml b/ruff.toml index c11a0b4f5a4..5a92450862d 100644 --- a/ruff.toml +++ b/ruff.toml @@ -24,7 +24,7 @@ ignore = [ "RUF003", # must be removed before merge "RUF005", # must be removed before merge "RUF012", - "RUF013", + "RUF013", "RUF015", # must be removed before merge "RUF018", # must be removed before merge ] From d5aac4f0478d197f40ecc9c6cd5955145480e4c7 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Wed, 24 Jul 2024 10:55:09 +0200 Subject: [PATCH 21/32] Update ruff to version 0.5.4 --- packages/syft/setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/syft/setup.cfg b/packages/syft/setup.cfg index 09a170b5132..229ef426c9e 100644 --- a/packages/syft/setup.cfg +++ b/packages/syft/setup.cfg @@ -99,7 +99,7 @@ dev = isort==5.13.2 mypy==1.11.0 pre-commit==3.7.1 - ruff==0.5.3 + ruff==0.5.4 safety>=2.4.0b2 telemetry = From a06b1f0224763d004cc241fbb70788ef5d3a0fc0 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Wed, 24 Jul 2024 10:55:38 +0200 Subject: [PATCH 22/32] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ac20b4e3a10..b38a0b209c3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -84,7 +84,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: "v0.5.3" + rev: "v0.5.4" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] From 03096d0d0d69742d4650306eb2d6d25b571f3b40 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Fri, 26 Jul 2024 22:11:47 +0200 Subject: [PATCH 23/32] Update ruff to version 0.5.5 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b38a0b209c3..eeba09d46b3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -84,7 +84,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: "v0.5.4" + rev: "v0.5.5" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] From 43cbb03e868bfb3a0a21c57972ade8829a8cd458 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Fri, 26 Jul 2024 22:12:55 +0200 Subject: [PATCH 24/32] Update ruff to version 0.5.5 --- packages/syft/setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/syft/setup.cfg b/packages/syft/setup.cfg index 99064742980..bac4f9c51e2 100644 --- a/packages/syft/setup.cfg +++ b/packages/syft/setup.cfg @@ -99,7 +99,7 @@ dev = isort==5.13.2 mypy==1.11.0 pre-commit==3.7.1 - ruff==0.5.4 + ruff==0.5.5 safety>=2.4.0b2 telemetry = From 816b4870bf9956a353bbe6d2bd0482f318655dfa Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Wed, 31 Jul 2024 23:13:24 +0200 Subject: [PATCH 25/32] Update mypy to version 0.11.1 --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index eeba09d46b3..42ea7831868 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -94,7 +94,7 @@ repos: types_or: [python, pyi, jupyter] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.0 + rev: v1.11.1 hooks: - id: mypy name: "mypy: syft-cli" @@ -119,7 +119,7 @@ repos: ] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.0 + rev: v1.11.1 hooks: - id: mypy name: "mypy: grid" @@ -144,7 +144,7 @@ repos: ] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.0 + rev: v1.11.1 hooks: - id: mypy name: "mypy: syft" From d3aaf86f8fbdd78a774f3cea843a1f73c8b9b037 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Wed, 31 Jul 2024 23:15:06 +0200 Subject: [PATCH 26/32] Update setup.cfg --- packages/syft/setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/syft/setup.cfg b/packages/syft/setup.cfg index bcadeb9536e..464e5097629 100644 --- a/packages/syft/setup.cfg +++ b/packages/syft/setup.cfg @@ -97,7 +97,7 @@ dev = debugpy==1.8.2 importlib-metadata==7.1.0 isort==5.13.2 - mypy==1.11.0 + mypy==1.11.1 pre-commit==3.7.1 ruff==0.5.5 safety>=2.4.0b2 From f6dd566182ce7f956c629cabcc821a105514898a Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Wed, 14 Aug 2024 22:17:03 +0200 Subject: [PATCH 27/32] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 42ea7831868..6915bbccc73 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -84,7 +84,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: "v0.5.5" + rev: "v0.5.7" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] From 188fa4ea862dea7d0561332ad468e858df0c7a34 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Wed, 14 Aug 2024 22:17:37 +0200 Subject: [PATCH 28/32] Update setup.cfg --- packages/syft/setup.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/syft/setup.cfg b/packages/syft/setup.cfg index 464e5097629..a61e269aa7c 100644 --- a/packages/syft/setup.cfg +++ b/packages/syft/setup.cfg @@ -94,12 +94,12 @@ dev = %(test_plugins)s %(telemetry)s bandit==1.7.9 - debugpy==1.8.2 + debugpy==1.8.5 importlib-metadata==7.1.0 isort==5.13.2 mypy==1.11.1 pre-commit==3.7.1 - ruff==0.5.5 + ruff==0.5.7 safety>=2.4.0b2 telemetry = From dd472288af4becbb621e04b2b94f8e580de25aea Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Mon, 19 Aug 2024 02:02:58 +0200 Subject: [PATCH 29/32] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 271c701766f..2ffc84ff5d6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -84,7 +84,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: "v0.5.7" + rev: "v0.6.1" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] From fdd9974a2f40e2c6d09a36645ee61862cc56e905 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Fri, 23 Aug 2024 10:08:37 +0200 Subject: [PATCH 30/32] Update .pre-commit-config.yaml --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2ffc84ff5d6..8b746387202 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -84,7 +84,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: "v0.6.1" + rev: "v0.6.2" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix, --show-fixes] From db06e14cddffc1adf74f38343dc6f4c712ec8a5e Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Fri, 23 Aug 2024 10:09:51 +0200 Subject: [PATCH 31/32] Update setup.cfg --- packages/syft/setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/syft/setup.cfg b/packages/syft/setup.cfg index 78d46fbf6db..f8e1bd2e747 100644 --- a/packages/syft/setup.cfg +++ b/packages/syft/setup.cfg @@ -99,7 +99,7 @@ dev = isort==5.13.2 mypy==1.11.1 pre-commit==3.7.1 - ruff==0.5.7 + ruff==0.6.2 safety>=2.4.0b2 telemetry = From 64f049063d4ce46fd21c14e59d856af622d3aae1 Mon Sep 17 00:00:00 2001 From: Olivier DEBAUCHE Date: Wed, 28 Aug 2024 14:40:06 +0200 Subject: [PATCH 32/32] Update mypy to version 0.11.2 --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8b746387202..29d8f6d57be 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -94,7 +94,7 @@ repos: types_or: [python, pyi, jupyter] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.1 + rev: v1.11.2 hooks: - id: mypy name: "mypy: syft-cli" @@ -119,7 +119,7 @@ repos: ] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.1 + rev: v1.11.2 hooks: - id: mypy name: "mypy: grid" @@ -144,7 +144,7 @@ repos: ] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.11.1 + rev: v1.11.2 hooks: - id: mypy name: "mypy: syft"