From 7058ee77a10f0a71bc4ef8ea3628222302b3e861 Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Thu, 13 Nov 2025 19:47:42 -0800 Subject: [PATCH 1/2] add bugbear check in ruff --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index edd2e6a8..81edc8fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,6 +41,7 @@ lint.select = [ "E", "W", # see: https://pypi.org/project/pycodestyle "F", # see: https://pypi.org/project/pyflakes "I", # isort + "B", # bugbear "RUF100", # unnecessary noqa comment "UP", # pyupgrade ] From aa964df71360001a7f672862a903de6de1e34d25 Mon Sep 17 00:00:00 2001 From: Carol Willing Date: Thu, 13 Nov 2025 19:53:04 -0800 Subject: [PATCH 2/2] Reorder tools by alpha in pyproject.toml --- pyproject.toml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 81edc8fe..d446e7c8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,11 +1,17 @@ # Migration to pyproject.toml is in progress -# Example configuration for Black. [tool.black] line-length = 120 target-version = ['py310'] skip-string-normalization = true +[tool.codespell] +quiet-level = 3 +# comma separated list of words; waiting for: +# https://github.com/codespell-project/codespell/issues/2839#issuecomment-1731601603 +# also adding links until they ignored by its: nature +# https://github.com/codespell-project/codespell/issues/2243#issuecomment-1732019960 +ignore-words-list = "dne, compiletime" [tool.coverage.run] branch = false @@ -23,20 +29,9 @@ omit = [ "papermill/version.py" ] - -[tool.codespell] -quiet-level = 3 -# comma separated list of words; waiting for: -# https://github.com/codespell-project/codespell/issues/2839#issuecomment-1731601603 -# also adding links until they ignored by its: nature -# https://github.com/codespell-project/codespell/issues/2243#issuecomment-1732019960 -ignore-words-list = "dne, compiletime" - - [tool.ruff] target-version = "py310" line-length = 120 -# Enable Pyflakes `E` and `F` codes by default. lint.select = [ "E", "W", # see: https://pypi.org/project/pycodestyle "F", # see: https://pypi.org/project/pyflakes