From 8ae88b4c47ecddf45e1fed73cdb8009d72e2f209 Mon Sep 17 00:00:00 2001 From: Mathias Claassen Date: Mon, 16 Sep 2024 10:54:02 -0300 Subject: [PATCH 1/3] Ignore tensorflow updates in dependabot --- .github/dependabot.yml | 7 ++++--- pyproject.toml | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 218261b..bf23720 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,17 +3,18 @@ updates: - package-ecosystem: pip directory: "/" schedule: - interval: daily - time: "07:00" + interval: weekly open-pull-requests-limit: 3 allow: - dependency-type: direct + ignore: + - dependency-name: tensorflow commit-message: prefix: "update: " - package-ecosystem: "github-actions" directory: "/" schedule: - interval: daily + interval: weekly time: "07:00" commit-message: prefix: "update: " diff --git a/pyproject.toml b/pyproject.toml index 2c9fdfb..b3ca1ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,6 +68,7 @@ exclude = [ ".git-rewrite", ".hg", ".ipynb_checkpoints", + ".ipynb", ".mypy_cache", ".nox", ".pants.d", From 71266dfbd6310db7e8171aad8fc414e7bd356c6b Mon Sep 17 00:00:00 2001 From: Mathias Claassen Date: Mon, 16 Sep 2024 10:57:59 -0300 Subject: [PATCH 2/3] remove unused imports --- examples/movielens/movielens.ipynb | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/movielens/movielens.ipynb b/examples/movielens/movielens.ipynb index 9b69add..a29f495 100644 --- a/examples/movielens/movielens.ipynb +++ b/examples/movielens/movielens.ipynb @@ -29,13 +29,11 @@ "import numpy as np\n", "import tensorflow as tf\n", "import tensorflow_datasets as tfds\n", - "import tensorflow_recommenders as tfrs\n", "\n", "from tensorflow.keras.layers import Dense\n", "from tensorflow.keras import Model\n", "\n", "from tf_tabular.builder import InputBuilder\n", - "from tf_tabular.utils import get_vocab\n", "from .movielens_model import MovielensModel" ] }, From 7508dd35681c216386e9384cdd6827f3323e798c Mon Sep 17 00:00:00 2001 From: Mathias Claassen Date: Mon, 16 Sep 2024 11:07:53 -0300 Subject: [PATCH 3/3] Don't format notebooks --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b3ca1ff..51cd315 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -68,7 +68,6 @@ exclude = [ ".git-rewrite", ".hg", ".ipynb_checkpoints", - ".ipynb", ".mypy_cache", ".nox", ".pants.d", @@ -106,6 +105,7 @@ quote-style = "double" indent-style = "space" skip-magic-trailing-comma = false line-ending = "auto" +exclude = ["*.ipynb"] [tool.pytest.ini_options]