Start running pyflakes locally again; and, fixes
This commit is contained in:
parent
fa8fdc2315
commit
dbd2d3c9ec
|
@ -9,7 +9,6 @@ import pandas as pd
|
|||
from ..data.spice import inertial_frames
|
||||
from ..keplerlib import _KeplerOrbit
|
||||
from ..timelib import julian_day
|
||||
from ..units import Angle, Distance
|
||||
|
||||
MPCORB_URL = 'https://www.minorplanetcenter.net/iau/MPCORB/MPCORB.DAT.gz'
|
||||
|
||||
|
|
|
@ -16,9 +16,9 @@ to install all of the tools and libraries for Skyfield development.
|
|||
EOF
|
||||
exit 2
|
||||
fi
|
||||
if python --version | grep -q 'Python 2.7'
|
||||
if python --version | grep -q 'Python 3.6'
|
||||
then
|
||||
d=$(python -c 'import skyfield as s; print(s.__file__.rsplit("/", 1)[0])')
|
||||
pyflakes "$d"/skyfield/*.py
|
||||
pyflakes "$d"/*.py "$d"/data/*.py
|
||||
fi
|
||||
exec assay --batch skyfield.tests
|
||||
|
|
Loading…
Reference in New Issue