python -m pytest tests/ -q --tb=short 2>/dev/null || python -m unittest discover -s tests -p "test_*.py" 2>/dev/null || echo "no tests" python bmad_code_complexity_gate.py . 2>/dev/null || echo "no complexity gate"