[pre-commit.ci] pre-commit autoupdate #66
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: | |
pull_request: | |
branches: | |
- main | |
push: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.8" | |
- name: Install packages | |
run: | | |
pip install flake8 | |
pip install isort | |
pip install black | |
- name: Run flake8 | |
run: flake8 | |
- name: Run isort | |
run: isort --check-only --verbose nirwl_metacal/ tests/ | |
- name: Run black | |
run: black --check --verbose --diff nirwl_metacal/ tests/ |