[pre-commit.ci] pre-commit autoupdate #7359
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 Python | |
on: | |
pull_request: | |
jobs: | |
docker_lint: | |
name: Lint Python | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.9.x" | |
- name: Set up Poetry and upgrade pip | |
run: | | |
pip install -U pip poetry | |
- name: Install flows | |
run: | | |
poetry install | |
- name: Lint with flake8 | |
run: | | |
poetry run lint |