Merge pull request #385 from Noble-Lab/lightning_version_fix #391
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Run black | |
uses: psf/black@stable | |
- name: Check for debugging print statements | |
run: | | |
if grep -rq "print(" casanovo; then | |
echo "Found the following print statements:" | |
grep -r "print(" casanovo | |
exit 1 | |
fi |