File size: 315 Bytes
61571e8
d34e1e5
61571e8
d34e1e5
61571e8
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash
PYTHON="${HOME}/miniforge3/bin/python3"
cd "$(dirname "$0")/.."
$PYTHON -c "
import ast, sys
for f in ['app.py','image_generator.py','math_engine.py']:
    try:
        ast.parse(open(f).read())
        print(f'✅ {f}')
    except SyntaxError as e:
        print(f'❌ {f}: {e}')
        sys.exit(1)
"