From 544743acd89ac772d24c35de9b492f8921f0828f Mon Sep 17 00:00:00 2001 From: Mathias Claassen Date: Mon, 16 Sep 2024 11:15:06 -0300 Subject: [PATCH] Ignore tensorflow updates in dependabot (#44) * Ignore tensorflow updates in dependabot * remove unused imports * Don't format notebooks --- .github/dependabot.yml | 7 ++++--- examples/movielens/movielens.ipynb | 2 -- pyproject.toml | 1 + 3 files changed, 5 insertions(+), 5 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/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" ] }, diff --git a/pyproject.toml b/pyproject.toml index 2c9fdfb..51cd315 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -105,6 +105,7 @@ quote-style = "double" indent-style = "space" skip-magic-trailing-comma = false line-ending = "auto" +exclude = ["*.ipynb"] [tool.pytest.ini_options]