perf: iterate data faster when images are not needed #2253
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: Pre-commit workflow | |
on: | |
pull_request: | |
workflow_dispatch: | |
env: | |
PYTHON: 3.9.14 | |
jobs: | |
pre-commit: | |
name: Linting and type checking | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup root poetry environment | |
uses: ./.github/actions/setup-root-poetry-environment | |
- name: Run linting, type checking and testing | |
uses: pre-commit/[email protected] | |
with: | |
extra_args: "--all-files --hook-stage=push" |