Start running pyflakes locally again; and, fixes

This commit is contained in:
Brandon Rhodes 2020-07-09 14:56:57 -04:00
parent fa8fdc2315
commit dbd2d3c9ec
2 changed files with 2 additions and 3 deletions

View File

@ -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'

View File

@ -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