Update the kickoff pyproject.toml file for ruff and numpy updates

This commit is contained in:
Gerard Vermeulen 2024-06-16 17:27:04 +02:00
parent 7c96b2e2be
commit d0c0942d1d

View File

@ -4966,6 +4966,8 @@ profile = "black"
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = [
"ARG", # flake8-unused-arguments
"B", # flake8-bugbear
@ -4976,16 +4978,17 @@ select = [
"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: