Skip to content

Commit

Permalink
MNT: adapt to ruff 0.2.x linter config syntax
Browse files Browse the repository at this point in the history
Use

[tool.ruff]
lint.foo = ...

or

[tool.ruff.lint]
foo =
  • Loading branch information
elcorto committed Feb 14, 2024
1 parent ba42f9c commit 9db8c63
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ line-length = 79
##)
##"""


[tool.ruff]
line-length = 79
ignore = ["E501", "E731"]
lint.ignore = ["E501", "E731"]
##extend-exclude = [
## "examples/batch_with_git/templates/calc/run.py",
##]
Expand Down

0 comments on commit 9db8c63

Please sign in to comment.