lint.yml
This file
Path
.github/workflows/lint.yml
20 lines · 487 bytes · YAML
Last changed by
Merge pull request #6883 from psf/dependabot/github_actions/actions/setup-python-5.4.0Nate Prewittbefore adoptionf2a6ae5
History of this fileTake it
123456789101112131415161718192021name: Lint code
on: [push, pull_request]
permissions: contents: read
jobs: lint: runs-on: ubuntu-20.04 timeout-minutes: 10
steps: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - name: Set up Python uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: "3.x" - name: Run pre-commit uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0