Bump release-drafter/release-drafter from 5 to 6 #769
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.11.* | |
pip install -e .[test] | |
- name: Run Flake8 | |
run: flake8 | |
- name: Black code style | |
run: black --check --target-version py39 . | |
- name: Docstring formatting | |
run: docformatter -c -r . --wrap-summaries 88 --wrap-descriptions 88 | |
- name: Check import order with isort | |
run: isort . --check --diff | |
- name: Type check with PyType | |
run: pytype --jobs 2 |