Skip to content

Commit

Permalink
gh-actions: remove black check for python 3.7
Browse files Browse the repository at this point in the history
black does not support python 3.7 since 23.7.
  • Loading branch information
miri64 committed Jan 30, 2024
1 parent e1861ed commit 5aa83fe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ jobs:
run: |
cd ${{ matrix.script_collection }}
pyenv="py$(echo "${{ matrix.python-version }}" | tr -d '.')"
toxenvs="lint,flake8,black,${pyenv}-test"
toxenvs="lint,flake8,${pyenv}-test"
if [ ${pyenv} != "py37" ]; then
# black does not support python 3.7 since 23.7
toxenvs="black,${toxenvs}"
fi
tox -e ${toxenvs}
# - uses: actions/upload-artifact@main
# name: Generate plots artifacts
Expand Down

0 comments on commit 5aa83fe

Please sign in to comment.