Read the Docs Update to Reflect New Command Line Functionality #398
Workflow file for this run
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 |