Skip to content

Commit

Permalink
add pyright action
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinGeens committed Jul 29, 2024
1 parent 5000686 commit 428abc8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Pylint
on: [push]

jobs:
build:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/pyright.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Type Check with Pyright

on: [push]
jobs:
type-check:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install the package locally
run:
pip install -r requirements.txt
- name: Pyright
uses: jakebailey/pyright-action@v2

0 comments on commit 428abc8

Please sign in to comment.