Skip to content

Commit 115fa72

Browse files
authored
Merge pull request #2028 from sydduckworth/type-checking
Add type checking using Pyrefly
2 parents 1c528d4 + f971103 commit 115fa72

5 files changed

Lines changed: 2905 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ jobs:
3333
- uses: actions/checkout@v6
3434
- uses: actions/setup-python@v6
3535
- uses: pre-commit/action@v3.0.1
36+
type-checking:
37+
runs-on: ubuntu-latest
38+
steps:
39+
- uses: actions/checkout@v6
40+
- uses: actions/setup-python@v6
41+
with:
42+
# Run type checking against the oldest supported version
43+
python-version: "3.10"
44+
- run: pip install -e ".[all,tests,typing]"
45+
- run: pyrefly check --output-format=github
3646
core:
3747
needs: [pre-commit]
3848
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v2

0 commit comments

Comments
 (0)