Skip to content

Commit

Permalink
Add lint workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
brianschubert committed Mar 13, 2024
1 parent 1625191 commit c0c01a4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Run pre-commit lints on push.
# Based on https://github.com/python/cpython/blob/main/.github/workflows/lint.yml

name: Lint

on: [ push ]

env:
FORCE_COLOR: 1
RUFF_OUTPUT_FORMAT: github

jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.x"
- uses: pre-commit/[email protected]

0 comments on commit c0c01a4

Please sign in to comment.