treefmt, pyproject: update ruff

This commit is contained in:
zowoq 2024-05-05 15:38:04 +10:00
parent 8f5e972b7c
commit 7d9e9ec0f0
2 changed files with 2 additions and 1 deletions

View file

@ -66,7 +66,7 @@
options = [
"-eucx"
''
${pkgs.lib.getExe pkgs.ruff} --fix "$@"
${pkgs.lib.getExe pkgs.ruff} check --fix "$@"
${pkgs.lib.getExe pkgs.ruff} format "$@"
''
"--" # this argument is ignored by bash

View file

@ -1,6 +1,7 @@
[tool.ruff]
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "I"]
ignore = [ "E501" ]