From 7e1b58e8c7b297ea59c2dbfa2ef803b8b51c87e7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 1 Sep 2024 02:36:44 +0000 Subject: [PATCH 1/2] Update ruff requirement from <0.6,>=0.5.0 to >=0.5.0,<0.7 Updates the requirements on [ruff](https://github.com/astral-sh/ruff) to permit the latest version. - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](https://github.com/astral-sh/ruff/compare/0.5.0...0.6.3) --- updated-dependencies: - dependency-name: ruff dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b2b946f..057ac9c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,7 @@ develop = [ "check-manifest", "isort>=5,<6", "jupyterlab>=4,<5", - "ruff>=0.5.0,<0.6", + "ruff>=0.5.0,<0.7", # test "pytest", "pytest-cov", From c72b7127ecd673a78a46d87f5f18697ed1bd5316 Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Sat, 31 Aug 2024 23:25:43 -0400 Subject: [PATCH 2/2] exclude tests --- pyproject.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 057ac9c..9974319 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -57,7 +57,7 @@ develop = [ "check-manifest", "isort>=5,<6", "jupyterlab>=4,<5", - "ruff>=0.5.0,<0.7", + "ruff>=0.6,<0.7", # test "pytest", "pytest-cov", @@ -157,5 +157,9 @@ testpaths = "nbcelltests/tests" [tool.ruff] line-length = 120 +[tool.ruff.format] +exclude = ["nbcelltests/tests/*"] + [tool.ruff.lint.per-file-ignores] "__init__.py" = ["F401", "F403"] +"nbcelltests/tests/*" = ["E701", "E731", "F811", "F821"]