Add Salad retrieval #30
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: Format and Lint Checks | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '*.py' | |
pull_request: | |
types: [ assigned, opened, synchronize, reopened ] | |
jobs: | |
check: | |
name: Format and Lint Checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
cache: 'pip' | |
- run: python -m pip install --upgrade pip | |
- run: python -m pip install black==23.12.1 flake8 isort | |
- run: python -m flake8 hloc | |
- run: python -m isort hloc *.ipynb --check-only --diff | |
- run: python -m black hloc *.ipynb --check --diff |