Bump flake8 from 7.1.0 to 7.1.1 (#524) #1074
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@v5 | |
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 |