treefmt, pyproject: update ruff
This commit is contained in:
parent
8f5e972b7c
commit
7d9e9ec0f0
2 changed files with 2 additions and 1 deletions
|
@ -66,7 +66,7 @@
|
||||||
options = [
|
options = [
|
||||||
"-eucx"
|
"-eucx"
|
||||||
''
|
''
|
||||||
${pkgs.lib.getExe pkgs.ruff} --fix "$@"
|
${pkgs.lib.getExe pkgs.ruff} check --fix "$@"
|
||||||
${pkgs.lib.getExe pkgs.ruff} format "$@"
|
${pkgs.lib.getExe pkgs.ruff} format "$@"
|
||||||
''
|
''
|
||||||
"--" # this argument is ignored by bash
|
"--" # this argument is ignored by bash
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
[tool.ruff]
|
[tool.ruff]
|
||||||
line-length = 88
|
line-length = 88
|
||||||
|
|
||||||
|
[tool.ruff.lint]
|
||||||
select = ["E", "F", "I"]
|
select = ["E", "F", "I"]
|
||||||
ignore = [ "E501" ]
|
ignore = [ "E501" ]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue