mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Debug WIP: Update imports
This commit is contained in:
parent
1b67063244
commit
2541280ff6
2 changed files with 8 additions and 5 deletions
4
.github/workflows/static-analysis.yml
vendored
4
.github/workflows/static-analysis.yml
vendored
|
@ -40,10 +40,6 @@ jobs:
|
||||||
- name: Build Luau
|
- name: Build Luau
|
||||||
run: make config=release luau luau-analyze
|
run: make config=release luau luau-analyze
|
||||||
|
|
||||||
- name: Setup python
|
|
||||||
run: |
|
|
||||||
sudo apt-get install python3
|
|
||||||
|
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: "3.9"
|
python-version: "3.9"
|
||||||
|
|
|
@ -1,5 +1,12 @@
|
||||||
import os, sys, time, numpy
|
import os, sys, time, numpy
|
||||||
from scipy import mean, stats
|
|
||||||
|
try:
|
||||||
|
import scipy
|
||||||
|
|
||||||
|
from scipy import mean, stats
|
||||||
|
except ModuleNotFoundError:
|
||||||
|
print("Warning: scipy package is not installed, confidence values will not be available")
|
||||||
|
stats = None
|
||||||
|
|
||||||
|
|
||||||
duration_list = []
|
duration_list = []
|
||||||
|
|
Loading…
Add table
Reference in a new issue