Skip to content

Commit

Permalink
upgrade slotscheck (#901)
Browse files Browse the repository at this point in the history
  • Loading branch information
dantownsend committed Nov 4, 2023
1 parent d4cf588 commit bfb6acd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion requirements/dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ipdb==0.13.9
ipython>=7.31.1
flake8==6.1.0
isort==5.10.1
slotscheck==0.17.0
slotscheck==0.17.1
twine==3.8.0
mypy==0.961
pip-upgrader==1.4.15
Expand Down
10 changes: 1 addition & 9 deletions scripts/lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,7 @@ mypy $SOURCES
echo "-----"

echo "Running slotscheck..."
# 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

python -m slotscheck $MODULES
echo "-----"

echo "All passed!"

0 comments on commit bfb6acd

Please sign in to comment.