From c716396c81a4a68e1fe9818cd5a271a017a47a70 Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Tue, 3 Sep 2024 09:39:24 +0200 Subject: [PATCH] update pre-commits and ignore print in notebook --- .pre-commit-config.yaml | 2 +- pyproject.toml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0a11d3b..aa8bcfe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -51,7 +51,7 @@ repos: - id: add-trailing-comma - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.6 + rev: v0.6.3 hooks: - id: ruff diff --git a/pyproject.toml b/pyproject.toml index 7016806..bef8e4d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -75,6 +75,10 @@ lint.select = [ lint.per-file-ignores."docs/conf.py" = [ "A001", ] +lint.per-file-ignores."notebooks/usage.ipynb" = [ + "T201", +] + lint.per-file-ignores."samples/example_by.py" = [ "T201", ]