Skip to content

Commit

Permalink
skip slotscheck for Python 3.12 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed Nov 3, 2023
1 parent c278f65 commit b25c359
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,15 @@ mypy $SOURCES
echo "-----"

echo "Running slotscheck..."
python -m slotscheck $MODULES
# Currently doesn't work for Python 3.12 - so skipping until we can get a proper fix.
pythonVersion=$(python -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')
if [ "$pythonVersion" == '3.12' ]
then
echo "Skipping Python 3.12 for now"
else
python -m slotscheck $MODULES
fi

echo "-----"

echo "All passed!"

0 comments on commit b25c359

Please sign in to comment.