mirror of
https://github.com/hanzoai/insights.git
synced 2026-10-30 16:15:31 +00:00
13 lines
276 B
Bash
Executable File
13 lines
276 B
Bash
Executable File
#!/bin/bash
|
|
if [ -z "$VIRTUAL_ENV" ]; then
|
|
if [ -d ".venv" ]; then
|
|
source .venv/bin/activate
|
|
elif [ -d "env" ]; then
|
|
source env/bin/activate
|
|
elif [ -d ".flox/env" ]; then
|
|
source .flox/cache/venv/bin/activate
|
|
fi
|
|
fi
|
|
|
|
python -m ruff "$@"
|