⬆️ Bump pytype from 2023.11.21 to 2023.11.29 #984
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: {} | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install project dependencies | |
run: | | |
pip install tensorflow-cpu==2.10.1 | |
pip install -e .[test] | |
- name: Run Flake8 | |
run: flake8 | |
- name: Black code style | |
run: black . --check --target-version py39 | |
- name: Check import order with isort | |
run: isort . --check --diff | |
- name: Type check with PyType | |
run: pytype --jobs auto |