python/ruff
This commit is contained in:
parent
5a89616f5c
commit
e4178bda5d
2 changed files with 18 additions and 2 deletions
13
sh/lint/ruff.sh
Normal file
13
sh/lint/ruff.sh
Normal file
|
@ -0,0 +1,13 @@
|
|||
rwx_ruff() {
|
||||
local path="${1}"
|
||||
rwx_ruff_format \
|
||||
"${path}"
|
||||
}
|
||||
|
||||
rwx_ruff_format() {
|
||||
local path="${1}"
|
||||
ruff format \
|
||||
--diff \
|
||||
--line-length 80 \
|
||||
"${path}"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue