small updates on cite and carbon.py #150
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 and check format | |
on: | |
push | |
jobs: | |
lint_and_check_format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.9 | |
cache: 'pip' | |
- name: Install Zeus and lint tools | |
run: pip install ".[dev]" | |
- name: Run lint | |
run: | | |
black --check --exclude examples/cifar100/models zeus capriccio examples | |
pydocstyle --match-dir='!examples/cifar100/models' zeus capriccio examples | |
pylint zeus |