Bump jaxlib from 0.4.13 to 0.4.21 in /requirements #847
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: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: install dependencies | |
run: | | |
python -m pip install -r requirements/minimal.txt | |
python -m pip install -r requirements/lint.txt | |
# Mypy wants to inspect pytest imports in the tests/ folder | |
python -m pip install -r requirements/test.txt | |
- name: black | |
run: black --check . | |
- name: flake8 | |
run: | | |
flake8 | |
# Warn about complex functions. | |
flake8 --exit-zero --max-complexity=10 | |
- name: build | |
run: | | |
# Mypy wants to check the type of the version string. | |
# This comes after the black step because black doesn't like | |
# the version file generated by setuptool_scm. | |
python -m pip install build | |
python -m build | |
- name: mypy | |
run: mypy |