Skip to content

Commit

Permalink
Add lint step to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
danyeaw committed Jan 31, 2025
1 parent b470c59 commit ef317da
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ on:
pull_request:

jobs:
lint:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.13'
- name: Lint with Pre-commit
uses: pre-commit/[email protected]
build:
runs-on: ${{ matrix.os }}
strategy:
Expand Down
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

repos:
- repo: https://github.com/pycqa/flake8
rev: 'e43806be3607110919eff72939fda031776e885a' # frozen: 7.1.1
Expand Down

0 comments on commit ef317da

Please sign in to comment.