Skip to content

Pretty print json without locations when reporting user errors #5159

Pretty print json without locations when reporting user errors

Pretty print json without locations when reporting user errors #5159

Workflow file for this run

name: lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
pre-commit-lints:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: "3.10"
- name: Install pre-commit
run: pip install -r requirements-dev.txt
- name: Run pre-commit on all files
run: pre-commit run --all-files