make cli scripts importable from python #20
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: Pre-Commit Checks | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
cache: "pip" | |
- name: Install requirements | |
run: | | |
pip install -U pip | |
pip install pylint | |
pip install -U black | |
pip install .[dev] | |
pip install wandb | |
pip install tqdm | |
- name: Run black | |
run: | | |
python -m black . | |
- uses: pre-commit/[email protected] |