diff --git a/pyproject.toml b/pyproject.toml index edd2e6a8..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,24 +29,14 @@ 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 "I", # isort + "B", # bugbear "RUF100", # unnecessary noqa comment "UP", # pyupgrade ]