mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-28 11:15:38 -04:00
10 lines
132 B
Bash
Executable file
10 lines
132 B
Bash
Executable file
#!/bin/bash
|
|
|
|
ruff_args=()
|
|
|
|
if [[ "$1" == "--check" ]]; then
|
|
ruff_args+=('--diff')
|
|
fi
|
|
|
|
set -x
|
|
ruff format "${ruff_args[@]}" "$@"
|