diff --git a/README.org b/README.org index e94c960..323a8c1 100644 --- a/README.org +++ b/README.org @@ -4966,26 +4966,29 @@ profile = "black" [tool.ruff] line-length = 88 + +[tool.ruff.lint] select = [ - "ARG", # flake8-unused-arguments - "B", # flake8-bugbear - "C", # mccabe - "C4", # flake8-comprehensions - "E", # pycodestyle - "D", # pydocstyle - "F", # pyflakes - "UP", # pyupgrade - "W", # pycodestyle -] + "ARG", # flake8-unused-arguments + "B", # flake8-bugbear + "C", # mccabe + "C4", # flake8-comprehensions + "E", # pycodestyle + "D", # pydocstyle + "F", # pyflakes + "UP", # pyupgrade + "W", # pycodestyle + "NPY201", # numpy-2.0 upgrade guide + ] ignore = [ "B905", # `zip()` without an explicit `strict=` parameter "D202", # no blank lines allowed after function docstring ] -[tool.ruff.mccabe] +[tool.ruff.lint.mccabe] max-complexity = 15 -[tool.ruff.pydocstyle] +[tool.ruff.lint.pydocstyle] convention = "numpy" # Local Variables: