Added comments and small changes to reflect the pull request feedback. #2751
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 | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
shell: bash -eo pipefail -l {0} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
cache: "pip" | |
- name: Install packages | |
run: | | |
pip install -r requirements-dev.txt | |
pip install . | |
- name: pre-commit | |
run: pre-commit run --all-files |