Skip to content

Commit d151ca2

Browse files
committed
Added pyrefly as a project dependency
1 parent 71c7ce9 commit d151ca2

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,14 @@ jobs:
3838
steps:
3939
- uses: actions/checkout@v6
4040
- uses: actions/setup-python@v6
41+
with:
42+
# Run type checking against the oldest supported version
43+
python-version: "3.10"
4144
- uses: astral-sh/setup-uv@v7
4245
with:
4346
enable-cache: true
4447
- run: uv sync --all-extras
45-
- run: uvx pyrefly@0.62.0 check --output-format=github
48+
- run: uv run pyrefly check --output-format=github
4649
core:
4750
needs: [pre-commit]
4851
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v2

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ docs = [
3737
http = ["fsspec[http]>=2022.8.2"]
3838
lz4 = ["lz4>=0.10"]
3939
tests = ["asdf[all]", "psutil", "pytest>=8", "syrupy>=5.1"]
40+
typing = ["pyrefly==0.62.0", "types-PyYAML", "types-jmespath"]
4041

4142
benchmark = ["asdf[tests]", "pytest-benchmark"]
4243
test = ["asdf[tests]"]

0 commit comments

Comments
 (0)